summaryrefslogtreecommitdiff
path: root/board/bds/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/bds/board.h')
-rw-r--r--board/bds/board.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/board/bds/board.h b/board/bds/board.h
index 61c7c5a7f9..9d4672a34d 100644
--- a/board/bds/board.h
+++ b/board/bds/board.h
@@ -27,8 +27,14 @@
#ifndef __ASSEMBLER__
-enum adc_channel
-{
+/* Module IDs */
+/* TODO(rspangler): use this in place of enum console_channel as well */
+enum module_id {
+ MODULE_I2C,
+ MODULE_UART,
+};
+
+enum adc_channel {
ADC_CH_EC_TEMP = 0, /* EC internal die temperature in degrees K. */
ADC_CH_BDS_POT, /* BDS pot input. */
ADC_CH_COUNT
@@ -39,9 +45,8 @@ enum adc_channel
/* Number of I2C ports used */
#define I2C_PORTS_USED 1
-/* GPIOs for second UART port */
+/* Second UART port */
#define CONFIG_UART_HOST 1
-#define CONFIG_UART_HOST_GPIOS_PB0_1
/* GPIO signal list */
enum gpio_signal {