s5pc110: pmic: add pmic command config
authorMinkyu Kang <mk7.kang@samsung.com>
Thu, 24 Dec 2009 05:10:25 +0000 (14:10 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 24 Dec 2009 05:10:25 +0000 (14:10 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/universal/universal.c
include/configs/s5pc1xx_universal.h

index fac1c4a..a7be386 100644 (file)
@@ -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
index e9a9b37..807cbd0 100644 (file)
 #define CONFIG_CMD_MMC
 #define CONFIG_CMD_SLEEP
 #define CONFIG_CMD_GPIO
+#define CONFIG_CMD_PMIC
 
 #define CONFIG_SYS_64BIT_VSPRINTF      1