From: MyungJoo Ham Date: Thu, 20 Jan 2011 04:49:32 +0000 (+0900) Subject: s5pc210: slp7: add config for max8997 X-Git-Tag: v0.2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32d279bc14bd16d74e7261c552daf3b25af17f6f;p=kernel%2Fu-boot.git s5pc210: slp7: add config for max8997 Signed-off-by: MyungJoo Ham --- diff --git a/board/samsung/slp7_c210/slp7.c b/board/samsung/slp7_c210/slp7.c index 8138a76..053ebd1 100644 --- a/board/samsung/slp7_c210/slp7.c +++ b/board/samsung/slp7_c210/slp7.c @@ -37,6 +37,7 @@ #include #include #include +#include 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 diff --git a/include/configs/s5pc210_slp7.h b/include/configs/s5pc210_slp7.h index 61ca679..0a663ba 100644 --- a/include/configs/s5pc210_slp7.h +++ b/include/configs/s5pc210_slp7.h @@ -144,6 +144,8 @@ #undef CONFIG_CRC16 #undef CONFIG_XYZMODEM +#define CONFIG_PMIC_MAX8997 + #define CONFIG_SYS_64BIT_VSPRINTF 1 #define CONFIG_BOOTDELAY 0