]> git.sur5r.net Git - u-boot/blobdiff - board/samsung/smdk5250/smdk5250.c
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
[u-boot] / board / samsung / smdk5250 / smdk5250.c
index a5816e445c80308f9843728c6ea64428088d03fb..4c50342e5cdcb7145e3faa035243bab222688de4 100644 (file)
 #include <asm/io.h>
 #include <i2c.h>
 #include <netdev.h>
+#include <spi.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/gpio.h>
 #include <asm/arch/mmc.h>
 #include <asm/arch/pinmux.h>
 #include <asm/arch/sromc.h>
+#include <pmic.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -63,6 +65,12 @@ 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
+#ifdef CONFIG_EXYNOS_SPI
+       spi_init();
+#endif
        return 0;
 }