sunxi: add orangepi zero defconfig
[oweals/u-boot.git] / board / ti / evm / evm.c
index 81dd081d76a98b6f864037367abf05cc12e934d4..ff3971dda8adf6167b08ecfeaa28b274a3a7ab00 100644 (file)
@@ -20,6 +20,7 @@
 #include <asm/arch/mmc_host_def.h>
 #include <asm/gpio.h>
 #include <i2c.h>
+#include <twl4030.h>
 #include <asm/mach-types.h>
 #include <linux/mtd/nand.h>
 #include "evm.h"
@@ -158,7 +159,7 @@ int misc_init_r(void)
 #if defined(CONFIG_CMD_NET)
        reset_net_chip();
 #endif
-       dieid_num_r();
+       omap_die_id_display();
 
        return 0;
 }
@@ -264,3 +265,10 @@ int board_mmc_init(bd_t *bis)
        return omap_mmc_init(0, 0, 0, -1, -1);
 }
 #endif
+
+#if defined(CONFIG_GENERIC_MMC)
+void board_mmc_power_init(void)
+{
+       twl4030_power_mmc_init(0);
+}
+#endif