diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2017-09-07 14:28:27 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-09-11 11:14:24 -0700 |
commit | f67f1a9b7874824e3744ef173ba76135440b328d (patch) | |
tree | 96df13d9a68abeac4f9774ebb4091c2b6a4143b9 /common | |
parent | dde1a514de4cc5a570db6a3cff4f43396e8c90f4 (diff) | |
download | chrome-ec-f67f1a9b7874824e3744ef173ba76135440b328d.tar.gz |
cleanup: Remove 'ryu' board
Remove 'ryu' and related ryu-only code.
BUG=None
TEST=`make buildall -j`
BRANCH=None
Change-Id: I19b966ea6964a7ed083724f7de80ae192235a406
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/656314
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/lb_common.c | 5 | ||||
-rw-r--r-- | common/main.c | 10 |
2 files changed, 1 insertions, 14 deletions
diff --git a/common/lb_common.c b/common/lb_common.c index aa237c776d..2ffba93b2f 100644 --- a/common/lb_common.c +++ b/common/lb_common.c @@ -152,7 +152,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) +#if defined(BOARD_SAMUS) /* 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. @@ -201,9 +201,6 @@ 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 -#if defined(BOARD_RYU) -static const uint8_t led_to_isc[] = { 0x18, 0x15, 0x18, 0x15 }; -#endif #ifdef BOARD_HOST /* For testing only */ static const uint8_t led_to_isc[] = { 0x15, 0x18, 0x15, 0x18 }; diff --git a/common/main.c b/common/main.c index 95ef89f798..e4cf2e01c7 100644 --- a/common/main.c +++ b/common/main.c @@ -89,16 +89,6 @@ test_mockable __keep int main(void) flash_pre_init(); #endif -#if defined(CONFIG_CASE_CLOSED_DEBUG) && defined(CONFIG_USB_POWER_DELIVERY) - /* - * If the device is locked we assert PD_NO_DEBUG, preventing the EC - * from interfering with the AP's access to the SPI flash. - * The PD_NO_DEBUG signal is latched in hardware, so changing this - * GPIO later has no effect. - */ - gpio_set_level(GPIO_PD_DISABLE_DEBUG, system_is_locked()); -#endif - /* Set the CPU clocks / PLLs. System is now running at full speed. */ clock_init(); |