summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-07-15 12:40:08 -0700
committerChromeBot <chrome-bot@google.com>2013-07-16 12:06:30 -0700
commitf8955d14b6ec61ac35b1f7d0bd6ecf6decf6b214 (patch)
treed4f32a39f8fc4103a434303bfa255b9f62dfc20b /board
parent1eeafbacbf06b0b2668beb8c35472e98a8f49d55 (diff)
downloadchrome-ec-f8955d14b6ec61ac35b1f7d0bd6ecf6decf6b214.tar.gz
Remove unused board_version enums
These were briefly used on link, and are not used by any other platform. The values for those platforms are almost certainly wrong, and incorrect information is worse than no information. This does not remove reading the stuffing resistors - it just removes the assumption that they map to PROTO1 and EVT. BUG=chrome-os-partner:18343 BRANCH=none TEST=compile all platforms Change-Id: I2ba19fd52660559bfd1d8e3b8a9949e9b8abbddf Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/61929
Diffstat (limited to 'board')
-rw-r--r--board/falco/board.h6
-rw-r--r--board/link/board.h6
-rw-r--r--board/peppy/board.h6
-rw-r--r--board/slippy/board.h6
-rw-r--r--board/wolf/board.h7
5 files changed, 0 insertions, 31 deletions
diff --git a/board/falco/board.h b/board/falco/board.h
index ba9ffcfa59..9cecb1d000 100644
--- a/board/falco/board.h
+++ b/board/falco/board.h
@@ -213,12 +213,6 @@ int board_g781_has_power(void);
* into the boot loader and we can recover bricked EC. */
#define BOOTCFG_VALUE 0x7fff88fe
-/* Known board versions for system_get_board_version(). */
-enum board_version {
- BOARD_VERSION_PROTO1 = 0,
- BOARD_VERSION_EVT = 1,
-};
-
/* Wireless signals */
#define WIRELESS_GPIO_WLAN GPIO_WLAN_OFF_L
#define WIRELESS_GPIO_WWAN GPIO_PP3300_LTE_EN
diff --git a/board/link/board.h b/board/link/board.h
index 8ef9e426bc..3c6900c497 100644
--- a/board/link/board.h
+++ b/board/link/board.h
@@ -229,12 +229,6 @@ enum temp_sensor_id {
* into the boot loader and we can recover bricked EC. */
#define BOOTCFG_VALUE 0x7fff88fe
-/* Known board versions for system_get_board_version(). */
-enum board_version {
- BOARD_VERSION_PROTO1 = 0,
- BOARD_VERSION_EVT = 1,
-};
-
/* Wireless signals */
#define WIRELESS_GPIO_WLAN GPIO_RADIO_ENABLE_WLAN
#define WIRELESS_GPIO_BLUETOOTH GPIO_RADIO_ENABLE_BT
diff --git a/board/peppy/board.h b/board/peppy/board.h
index 883e27a44f..d5ce4c54a7 100644
--- a/board/peppy/board.h
+++ b/board/peppy/board.h
@@ -215,12 +215,6 @@ int board_g781_has_power(void);
* into the boot loader and we can recover bricked EC. */
#define BOOTCFG_VALUE 0x7fff88fe
-/* Known board versions for system_get_board_version(). */
-enum board_version {
- BOARD_VERSION_PROTO1 = 0,
- BOARD_VERSION_EVT = 1,
-};
-
/* Wireless signals */
#define WIRELESS_GPIO_WLAN GPIO_WLAN_OFF_L
#define WIRELESS_GPIO_WWAN GPIO_PP3300_LTE_EN
diff --git a/board/slippy/board.h b/board/slippy/board.h
index 3a29c23762..44913b9e12 100644
--- a/board/slippy/board.h
+++ b/board/slippy/board.h
@@ -204,12 +204,6 @@ enum temp_sensor_id {
* into the boot loader and we can recover bricked EC. */
#define BOOTCFG_VALUE 0x7fff88fe
-/* Known board versions for system_get_board_version(). */
-enum board_version {
- BOARD_VERSION_PROTO1 = 0,
- BOARD_VERSION_EVT = 1,
-};
-
/* Wireless signals */
#define WIRELESS_GPIO_WLAN GPIO_WLAN_OFF_L
#define WIRELESS_GPIO_WWAN GPIO_PP3300_LTE_EN
diff --git a/board/wolf/board.h b/board/wolf/board.h
index 6c8d440bab..98b036afbb 100644
--- a/board/wolf/board.h
+++ b/board/wolf/board.h
@@ -161,7 +161,6 @@ enum x86_signal {
#define CONFIG_BQ24707A_R_AC 10 /* 10 mOhm input current sense resistor */
#define CONFIG_CHARGER_INPUT_CURRENT 3078 /* mA, 90% of a 65W adapter at 19V */
-
enum adc_channel {
/* EC internal die temperature in degrees K. */
ADC_CH_EC_TEMP = 0,
@@ -189,12 +188,6 @@ enum temp_sensor_id {
* into the boot loader and we can recover bricked EC. */
#define BOOTCFG_VALUE 0x7fff88fe
-/* Known board versions for system_get_board_version(). */
-enum board_version {
- BOARD_VERSION_PROTO1 = 0,
- BOARD_VERSION_EVT = 1,
-};
-
/* Wireless signals */
#define WIRELESS_GPIO_WLAN GPIO_WLAN_OFF_L
#define WIRELESS_GPIO_WWAN GPIO_PP3300_LTE_EN