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/discovery | |
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/discovery')
-rw-r--r-- | board/discovery/board.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/board/discovery/board.h b/board/discovery/board.h index c884026975..0ef0ff18a7 100644 --- a/board/discovery/board.h +++ b/board/discovery/board.h @@ -20,12 +20,6 @@ #ifndef __ASSEMBLER__ -/* Module IDs */ -enum module_id { - MODULE_UART, - MODULE_CHIPSET, -}; - /* Timer selection */ #define TIM_CLOCK_MSB 3 #define TIM_CLOCK_LSB 4 |