summaryrefslogtreecommitdiff
path: root/common/lb_common.c
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2015-06-09 11:15:06 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-10 18:24:05 +0000
commitfe9e3bf56532b33a9d99b9372b53905dece5907b (patch)
tree6bffb4bdd8ad8bac679e44d021eaf21bcb557fbd /common/lb_common.c
parent4e5b020ca917e99c1e68523e4c5aec518b7d9510 (diff)
downloadchrome-ec-fe9e3bf56532b33a9d99b9372b53905dece5907b.tar.gz
Remove obsolete board-specific code
Now that we've removed boards from ToT, also delete board-specific code used only by the removed boards. There are still more things to remove (unused charging chips, LED drivers, COMx support). More CLs coming. BUG=chromium:493866 BRANCH=none TEST=make buildall -j Change-Id: Ie6bdeaf96e61cadd77e3f6336c73b9b54ff4eabb Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/276524 Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'common/lb_common.c')
-rw-r--r--common/lb_common.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/common/lb_common.c b/common/lb_common.c
index edd033d870..c964ab8be3 100644
--- a/common/lb_common.c
+++ b/common/lb_common.c
@@ -56,12 +56,6 @@ static inline uint8_t controller_read(int ctrl_num, uint8_t reg)
#define MAX_GREEN 0x30
#define MAX_BLUE 0x67
#endif
-#ifdef BOARD_LINK
-/* Link uses seven segments, not four, but keep the same limits anyway */
-#define MAX_RED 0x5c
-#define MAX_GREEN 0x30
-#define MAX_BLUE 0x67
-#endif
#if defined(BOARD_SAMUS) || defined(BOARD_RYU) || defined(BOARD_RYU_P4P5)
/* Samus uses completely different LEDs, so the numbers are different. The
* Samus LEDs can handle much higher currents, but these constants were
@@ -117,9 +111,6 @@ static const uint8_t led_to_ctrl[] = { 1, 1, 0, 0 };
#ifdef BOARD_BDS
static const uint8_t led_to_isc[] = { 0x18, 0x15, 0x18, 0x15 };
#endif
-#ifdef BOARD_LINK
-static const uint8_t led_to_isc[] = { 0x18, 0x15, 0x18, 0x15 };
-#endif
#ifdef BOARD_SAMUS
static const uint8_t led_to_isc[] = { 0x15, 0x18, 0x15, 0x18 };
#endif