summaryrefslogtreecommitdiff
path: root/board/samsung/smdk5250/smdk5250.c
diff options
context:
space:
mode:
authorRajeshwari Shinde <rajeshwari.s@samsung.com>2012-08-24 00:39:24 +0000
committerMinkyu Kang <mk7.kang@samsung.com>2012-11-15 21:08:19 +0900
commit0d146a56f91a7a631bca2376c9c5c05d62e71620 (patch)
tree1cff27a9eae7e8dbe9fc2223e32e0c08f178cec3 /board/samsung/smdk5250/smdk5250.c
parent588945240364aafea27c6e618ae126a6d461dc20 (diff)
downloadu-boot-imx-0d146a56f91a7a631bca2376c9c5c05d62e71620.zip
u-boot-imx-0d146a56f91a7a631bca2376c9c5c05d62e71620.tar.gz
u-boot-imx-0d146a56f91a7a631bca2376c9c5c05d62e71620.tar.bz2
SMDK5250: Config: Enable MAX77686 pmic chip
This patch enables MAX77686 pmic chip for SMDK5250. Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung/smdk5250/smdk5250.c')
-rw-r--r--board/samsung/smdk5250/smdk5250.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/samsung/smdk5250/smdk5250.c b/board/samsung/smdk5250/smdk5250.c
index a5816e4..18dd5d2 100644
--- a/board/samsung/smdk5250/smdk5250.c
+++ b/board/samsung/smdk5250/smdk5250.c
@@ -29,6 +29,7 @@
#include <asm/arch/mmc.h>
#include <asm/arch/pinmux.h>
#include <asm/arch/sromc.h>
+#include <pmic.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -63,6 +64,9 @@ static int smc9115_pre_init(void)
int board_init(void)
{
gd->bd->bi_boot_params = (PHYS_SDRAM_1 + 0x100UL);
+#if defined(CONFIG_PMIC)
+ pmic_init();
+#endif
return 0;
}