diff options
author | Vic Yang <victoryang@chromium.org> | 2014-11-12 10:29:33 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-11-12 23:08:12 +0000 |
commit | 3bcc5673c9f3c1d82eee491b29befaeb5bd0bd1a (patch) | |
tree | 74f3f70e63208a331b1cd08fd76dcfa5a14bac2c /common/lb_common.c | |
parent | 6967cae77e1eaf70ae7af20f075c4c6994bb9af2 (diff) | |
download | chrome-ec-3bcc5673c9f3c1d82eee491b29befaeb5bd0bd1a.tar.gz |
ryu: switch default firmware to use STM32F373
This simply renames ryu to ryu_p1, and ryu_p2 to ryu. 'ryu_p1' will be
kept for a while and will be decommisioned when most developers make
switch to the new boards.
BRANCH=None
BUG=chrome-os-partner:33583
TEST=Build ryu and boot on P2 board.
Change-Id: Ief61c64c6aefdaeae76ac7b86e0ea28131810aa1
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/229291
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'common/lb_common.c')
-rw-r--r-- | common/lb_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/lb_common.c b/common/lb_common.c index 2e04a2fabd..6bd3ac5ec3 100644 --- a/common/lb_common.c +++ b/common/lb_common.c @@ -62,7 +62,7 @@ static inline uint8_t controller_read(int ctrl_num, uint8_t reg) #define MAX_GREEN 0x30 #define MAX_BLUE 0x67 #endif -#if defined(BOARD_SAMUS) || defined(BOARD_RYU_P2) +#if defined(BOARD_SAMUS) || defined(BOARD_RYU) /* Samus uses completely different LEDs, so the numbers are different. The * Samus LEDs can handle much higher currents, but these constants were * calibrated to provide uniform intensity at the level used by Link. @@ -123,7 +123,7 @@ static const uint8_t led_to_isc[] = { 0x18, 0x15, 0x18, 0x15 }; #ifdef BOARD_SAMUS static const uint8_t led_to_isc[] = { 0x15, 0x18, 0x15, 0x18 }; #endif -#ifdef BOARD_RYU_P2 +#ifdef BOARD_RYU static const uint8_t led_to_isc[] = { 0x18, 0x15, 0x18, 0x15 }; #endif #ifdef BOARD_HOST |