From d30970f73e324e6ebe924cd69df1cec00ecd32df Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Thu, 24 Dec 2009 14:10:25 +0900 Subject: [PATCH] s5pc110: pmic: add pmic command config Signed-off-by: Minkyu Kang --- board/samsung/universal/universal.c | 2 ++ include/configs/s5pc1xx_universal.h | 1 + 2 files changed, 3 insertions(+) diff --git a/board/samsung/universal/universal.c b/board/samsung/universal/universal.c index fac1c4a..a7be386 100644 --- a/board/samsung/universal/universal.c +++ b/board/samsung/universal/universal.c @@ -2083,6 +2083,7 @@ int board_mmc_init(bd_t *bis) } #endif +#ifdef CONFIG_CMD_PMIC static int pmic_status(void) { unsigned char addr, val[2]; @@ -2209,3 +2210,4 @@ U_BOOT_CMD( "pmic ldo num on/off - Turn on/off the LDO\n" "pmic buck num on/off - Turn on/off the BUCK\n" ); +#endif diff --git a/include/configs/s5pc1xx_universal.h b/include/configs/s5pc1xx_universal.h index e9a9b37..807cbd0 100644 --- a/include/configs/s5pc1xx_universal.h +++ b/include/configs/s5pc1xx_universal.h @@ -119,6 +119,7 @@ #define CONFIG_CMD_MMC #define CONFIG_CMD_SLEEP #define CONFIG_CMD_GPIO +#define CONFIG_CMD_PMIC #define CONFIG_SYS_64BIT_VSPRINTF 1 -- 2.7.4