summaryrefslogtreecommitdiff
path: root/common/lb_common.c
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2015-07-21 08:45:41 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-07-21 19:56:24 +0000
commit048436c6d33bc78d5fd3934a527e1e9e8ef1fcc6 (patch)
tree52d634cfc3d505459b98fc13ad3c74acca2d167f /common/lb_common.c
parent1e3d00ff7ae32d58ac9c27ef09b22df58e48b1c4 (diff)
downloadchrome-ec-048436c6d33bc78d5fd3934a527e1e9e8ef1fcc6.tar.gz
ryu: remove P4/P5 code leftover
Remove remaining conditional code for ryu_p4p5 board which is gone. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=smaug BUG=chrome-os-partner:38333 TEST=make buildall Change-Id: I1630fab5355d10018dab7f0fed7e35f240422ddd Reviewed-on: https://chromium-review.googlesource.com/287142 Trybot-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'common/lb_common.c')
-rw-r--r--common/lb_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/lb_common.c b/common/lb_common.c
index c964ab8be3..05d649526e 100644
--- a/common/lb_common.c
+++ b/common/lb_common.c
@@ -56,7 +56,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) || defined(BOARD_RYU_P4P5)
+#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.
@@ -114,7 +114,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
-#if defined(BOARD_RYU) || defined(BOARD_RYU_P4P5)
+#if defined(BOARD_RYU)
static const uint8_t led_to_isc[] = { 0x18, 0x15, 0x18, 0x15 };
#endif
#ifdef BOARD_HOST