diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-07-19 16:26:36 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-07-23 11:14:16 -0700 |
commit | 64e38af781a42a346f59ef27c352f4818bfa1516 (patch) | |
tree | d4cadba6ebf88e5f41ab82008af9227a0187ba8c /board/pit | |
parent | 4288e45815d8677147d582a46eb625a185f49162 (diff) | |
download | chrome-ec-64e38af781a42a346f59ef27c352f4818bfa1516.tar.gz |
Clean up and document PMU config options
No functional changes, just documenting and renaming.
All boards which use the PMU must provide pmu_board_init(). This was
already true - except that Daisy's pmu_board_init() was implemented as
part of pmu_init() instead of its code living in board.c; I've moved
the code there now.
BUG=chrome-os-partner:18343
BRANCH=none
TEST=build all platforms
Change-Id: I85ad06dc3b6287ad917fe13acf83182f24a8f23d
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/62906
Reviewed-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'board/pit')
-rw-r--r-- | board/pit/board.c | 2 | ||||
-rw-r--r-- | board/pit/board.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/board/pit/board.c b/board/pit/board.c index 5ba14e3439..018fbbf0f8 100644 --- a/board/pit/board.c +++ b/board/pit/board.c @@ -100,7 +100,6 @@ void board_config_post_gpio_init(void) gpio_set_alternate_function(GPIO_B, (1 << 3), GPIO_ALT_TIM2); } -#ifdef CONFIG_PMU_BOARD_INIT int pmu_board_init(void) { int ver, failure = 0; @@ -162,4 +161,3 @@ int pmu_board_init(void) return failure ? EC_ERROR_UNKNOWN : EC_SUCCESS; } -#endif /* CONFIG_BOARD_PMU_INIT */ diff --git a/board/pit/board.h b/board/pit/board.h index 2877c030c7..7ef77aa2e2 100644 --- a/board/pit/board.h +++ b/board/pit/board.h @@ -34,7 +34,6 @@ #define CONFIG_I2C #define CONFIG_KEYBOARD_PROTOCOL_MKBP #define CONFIG_LID_SWITCH -#define CONFIG_PMU_BOARD_INIT #define CONFIG_PMU_HARD_RESET #define CONFIG_PMU_TPS65090 #define CONFIG_SPI |