s5pc210: slp7: add config for max8997
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 20 Jan 2011 04:49:32 +0000 (13:49 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 20 Jan 2011 04:49:32 +0000 (13:49 +0900)
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
board/samsung/slp7_c210/slp7.c
include/configs/s5pc210_slp7.h

index 8138a76..053ebd1 100644 (file)
@@ -37,6 +37,7 @@
 #include <asm/arch/clk.h>
 #include <ramoops.h>
 #include <info_action.h>
+#include <pmic.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -931,6 +932,9 @@ int misc_init_r(void)
        info_action_check();
 #endif
 
+#ifdef CONFIG_CMD_PMIC
+       pmic_bus_init(I2C_5);
+#endif
        return 0;
 }
 #endif
index 61ca679..0a663ba 100644 (file)
 #undef CONFIG_CRC16
 #undef CONFIG_XYZMODEM
 
+#define CONFIG_PMIC_MAX8997
+
 #define CONFIG_SYS_64BIT_VSPRINTF      1
 
 #define CONFIG_BOOTDELAY               0