diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2015-08-13 08:50:00 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-08-14 21:04:48 +0000 |
commit | 4e355700aa97adff9b3c848660511cbe825dc4b3 (patch) | |
tree | 668a2ca2a1888513a723abcb7d71824153f5ac11 /board/glados/board.h | |
parent | 571b7bb640522e341ca3c95fb708c5a1ae4f74a8 (diff) | |
download | chrome-ec-4e355700aa97adff9b3c848660511cbe825dc4b3.tar.gz |
glados: Switch to V2 board
Switch to V2 glados as the default, and remove support for V1.
BUG=chrome-os-partner:43075
TEST=`make buildall -j`
BRANCH=None
Change-Id: I58f33225177d259916e8877084c2c431922e7bc5
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/293303
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'board/glados/board.h')
-rw-r--r-- | board/glados/board.h | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/board/glados/board.h b/board/glados/board.h index bdbb7cb9d9..0bd9850ebf 100644 --- a/board/glados/board.h +++ b/board/glados/board.h @@ -8,13 +8,6 @@ #ifndef __CROS_EC_BOARD_H #define __CROS_EC_BOARD_H -/* - * Certain changes make V1 boards incompatible with V2. - * TODO(crosbug.com/p/43075): Remove support for V1 when appropriate. - */ -#define GLADOS_BOARD_V1 -/* #define GLADOS_BOARD_V2 */ - /* Optional features */ #define CONFIG_ADC #define CONFIG_BATTERY_CUT_OFF @@ -93,18 +86,6 @@ #define GPIO_BAT_LED_GREEN GPIO_CHARGE_LED_2 /* I2C ports */ -#ifdef GLADOS_BOARD_V1 -#define I2C_PORT_BATTERY MEC1322_I2C0_0 -#define I2C_PORT_CHARGER MEC1322_I2C0_0 -#define I2C_PORT_USB_CHARGER_1 MEC1322_I2C0_1 -#define I2C_PORT_USB_MUX MEC1322_I2C0_1 -#define I2C_PORT_PD_MCU MEC1322_I2C1 -#define I2C_PORT_TCPC MEC1322_I2C1 -#define I2C_PORT_ALS MEC1322_I2C2 -#define I2C_PORT_ACCEL MEC1322_I2C2 -#define I2C_PORT_PMIC MEC1322_I2C3 -#define I2C_PORT_USB_CHARGER_2 MEC1322_I2C3 -#else #define I2C_PORT_PMIC MEC1322_I2C0_0 /* TODO(shawnn): Verify that the charge detectors aren't swapped */ #define I2C_PORT_USB_CHARGER_1 MEC1322_I2C0_0 @@ -116,7 +97,6 @@ #define I2C_PORT_ACCEL MEC1322_I2C2 #define I2C_PORT_BATTERY MEC1322_I2C3 #define I2C_PORT_CHARGER MEC1322_I2C3 -#endif /* Thermal sensors read through PMIC ADC interface */ #define I2C_PORT_THERMAL I2C_PORT_PMIC @@ -183,16 +163,8 @@ enum temp_sensor_id { #define PD_MAX_POWER_MW 60000 #define PD_MAX_CURRENT_MA 3000 -#ifdef GLADOS_BOARD_V1 -/* - * TODO: max voltage should be 20V, but this causes excessive i2c noise - * on battery bus on proto0, which leads to inconsistent charging. - */ -#define PD_MAX_VOLTAGE_MV 5000 -#else -/*** Try to negotiate to 20V since i2c noise problems should be fixed. ***/ +/* Try to negotiate to 20V since i2c noise problems should be fixed. */ #define PD_MAX_VOLTAGE_MV 20000 -#endif /* Reset PD MCU */ void board_reset_pd_mcu(void); |