summaryrefslogtreecommitdiff
path: root/board/samsung/goni/goni.c
diff options
context:
space:
mode:
authorƁukasz Majewski <l.majewski@samsung.com>2011-10-03 19:45:51 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 21:56:31 +0200
commit2a7dd9d71cb7086faa102ef1eb148ea6481214ae (patch)
tree59307e8d0eba9348af2f75eb5a470a1d50979da3 /board/samsung/goni/goni.c
parent993858585decc107ddcd7db9c1d374e80ed93d7f (diff)
downloadu-boot-imx-2a7dd9d71cb7086faa102ef1eb148ea6481214ae.zip
u-boot-imx-2a7dd9d71cb7086faa102ef1eb148ea6481214ae.tar.gz
u-boot-imx-2a7dd9d71cb7086faa102ef1eb148ea6481214ae.tar.bz2
misc:pmic:samsung Enable PMIC driver at GONI target
Enable support for new PMIC driver at GONI reference target. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/samsung/goni/goni.c')
-rw-r--r--board/samsung/goni/goni.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/samsung/goni/goni.c b/board/samsung/goni/goni.c
index e24cd29..e191bfb 100644
--- a/board/samsung/goni/goni.c
+++ b/board/samsung/goni/goni.c
@@ -25,6 +25,7 @@
#include <common.h>
#include <asm/arch/gpio.h>
#include <asm/arch/mmc.h>
+#include <pmic.h>
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;
}