From 2a7dd9d71cb7086faa102ef1eb148ea6481214ae Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Majewski?= Date: Mon, 3 Oct 2011 19:45:51 +0000 Subject: [PATCH] misc:pmic:samsung Enable PMIC driver at GONI target Enable support for new PMIC driver at GONI reference target. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- board/samsung/goni/goni.c | 4 ++++ include/configs/s5p_goni.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/board/samsung/goni/goni.c b/board/samsung/goni/goni.c index e24cd29f37..e191bfbd28 100644 --- a/board/samsung/goni/goni.c +++ b/board/samsung/goni/goni.c @@ -25,6 +25,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; @@ -38,6 +39,9 @@ int board_init(void) gd->bd->bi_arch_number = MACH_TYPE_GONI; gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; +#if defined(CONFIG_PMIC) + pmic_init(); +#endif return 0; } diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index 6d0058f8e8..a52b0a561b 100644 --- a/include/configs/s5p_goni.h +++ b/include/configs/s5p_goni.h @@ -220,6 +220,10 @@ #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_LOAD_ADDR - 0x1000000) +#define CONFIG_PMIC +#define CONFIG_PMIC_I2C +#define CONFIG_PMIC_MAX8998 + #include /* * I2C Settings -- 2.30.2