diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-10-23 14:12:58 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-10-25 03:09:51 +0000 |
commit | 5ef2054c38e5375da3440f1b1507dda31429c6ff (patch) | |
tree | b92bef0f8a4be5b3e3dc9b6d537da21d1845343e /board/pit | |
parent | 235a735f7af1a11a12a46f816905fa268a0fd012 (diff) | |
download | chrome-ec-5ef2054c38e5375da3440f1b1507dda31429c6ff.tar.gz |
cleanup: Consolidate module IDs into a single shared enum
This is tidier than every board defining its own module_id enum, and
encourages standard naming of modules.
A subsequent CL will do more cleanup (standardizing on MODULE_LED
instead of MODULE_POWER_LED and MODULE_LED_KIRBY), but it's easier to
do that as a separate CL than part of this one.
BUG=chrome-os-partner:18343
BRANCH=none
TEST=build all platforms; pass unit tests
Change-Id: If0fcef284fb3aa2fa145bc9ff3d1f3f2d25a2e47
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/174382
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'board/pit')
-rw-r--r-- | board/pit/board.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/board/pit/board.h b/board/pit/board.h index 2763979567..f4fc68b06d 100644 --- a/board/pit/board.h +++ b/board/pit/board.h @@ -27,16 +27,6 @@ #ifndef __ASSEMBLER__ -/* Module IDs */ -/* TODO(rspangler): use this in place of enum console_channel as well */ -enum module_id { - MODULE_I2C, - MODULE_POWER_LED, - MODULE_SPI, - MODULE_UART, - MODULE_CHIPSET, -}; - /* Keyboard output port list */ #define KB_OUT_PORT_LIST GPIO_A, GPIO_B, GPIO_C |