From 32d279bc14bd16d74e7261c552daf3b25af17f6f Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Thu, 20 Jan 2011 13:49:32 +0900 Subject: [PATCH] s5pc210: slp7: add config for max8997 Signed-off-by: MyungJoo Ham --- board/samsung/slp7_c210/slp7.c | 4 ++++ include/configs/s5pc210_slp7.h | 2 ++ 2 files changed, 6 insertions(+) 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 -- 2.7.4