Clean up board.c files

Just renaming functions and reordering #defines; no functional changes.

BUG=chrome-os-partner:18343
BRANCH=none
TEST=build all EC boards

Change-Id: I90e9ea860110625012cd5fb99de966283ec82880
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/47179
Reviewed-by: Vic Yang <victoryang@chromium.org>
This commit is contained in:
Randall Spangler
2013-04-02 10:05:59 -07:00
committed by ChromeBot
parent 13c74da5ad
commit 9137686ebe
6 changed files with 20 additions and 50 deletions

View File

@@ -243,17 +243,6 @@ int pmu_enable_ext_control(int enable);
*/
int pmu_set_fastcharge(enum FASTCHARGE_TIMEOUT timeout);
/**
* Get AC state
*
* @return 0 AC off
* @return 1 AC on
*
* This is a board specific function as we get the PMU VACG signal
* through a GPIO.
*/
int board_get_ac(void);
/**
* Reset the entire board if it is capable
*/
@@ -274,5 +263,15 @@ enum charging_state charge_get_state(void);
*/
int charge_keep_power_off(void);
#ifdef CONFIG_PMU_BOARD_INIT
/**
* Initialize PMU registers using board settings.
*
* Boards may supply this function if needed. This will be called from
* pmu_init().
*/
int pmu_board_init(void);
#endif
#endif /* __CROS_EC_TPSCHROME_H */