diff options
Diffstat (limited to 'board/bds')
-rw-r--r-- | board/bds/board.c | 2 | ||||
-rw-r--r-- | board/bds/board.h | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/board/bds/board.c b/board/bds/board.c index 90ac5eb946..7dc4985f9a 100644 --- a/board/bds/board.c +++ b/board/bds/board.c @@ -41,7 +41,7 @@ const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports); /* GPIO signal list. Must match order from enum gpio_signal. */ const struct gpio_info gpio_list[] = { - {"RECOVERYn", GPIO_D, (1<<1), GPIO_PULL_UP, NULL}, + {"RECOVERY_L", GPIO_D, (1<<1), GPIO_PULL_UP, NULL}, {"DEBUG_LED", GPIO_A, (1<<7), GPIO_OUT_LOW, NULL}, /* Unimplemented signals which we need to emulate for now */ GPIO_SIGNAL_NOT_IMPLEMENTED("WP"), diff --git a/board/bds/board.h b/board/bds/board.h index 97f48e38e4..45ed2f9b72 100644 --- a/board/bds/board.h +++ b/board/bds/board.h @@ -38,17 +38,19 @@ enum pwm_channel { }; /* I2C ports */ -#define I2C_PORT_LIGHTBAR 5 // port 5 / PA6:7 on link, but PG6:7 on badger +#define I2C_PORT_LIGHTBAR 5 /* Port 5 / PA6:7 on link, but PG6:7 on badger */ /* Second UART port */ #define CONFIG_UART_HOST 1 /* GPIO signal list */ enum gpio_signal { - GPIO_RECOVERYn = 0, /* Recovery signal from DOWN button */ + GPIO_RECOVERY_L = 0, /* Recovery signal from DOWN button */ GPIO_DEBUG_LED, /* Debug LED */ - /* Signals which aren't implemented on BDS but we'll emulate anyway, to - * make it more convenient to debug other code. */ + /* + * Signals which aren't implemented on BDS but we'll emulate anyway, to + * make it more convenient to debug other code. + */ GPIO_WP, /* Write protect input */ GPIO_ENTERING_RW, /* EC entering RW code */ |