summaryrefslogtreecommitdiff
path: root/board/bds
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-12-17 13:43:17 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-12-19 00:12:28 +0000
commit6ab8e91658f1efc894b648cc0748af8d804915e4 (patch)
treec33da7914793452ecb37084e505230171d4eff9e /board/bds
parente5935f17d1798a1f19c6003e57f140446774484f (diff)
downloadchrome-ec-6ab8e91658f1efc894b648cc0748af8d804915e4.tar.gz
cleanup: Remove checkpatch warnings
This make minor syntactic changes and renames some camel-cased symbols to keep checkpatch from complaining. The goal is to reduce the temptation to use 'repo upload --no-verify'. This is a big furball of find/replace, but no functional changes. BUG=chromium:322144 BRANCH=none TEST=build all boards; pass unit tests Change-Id: I0269b7dd95836ef9a6e33f88c003ab0f24f842a0 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/180495
Diffstat (limited to 'board/bds')
-rw-r--r--board/bds/board.c2
-rw-r--r--board/bds/board.h10
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 */