aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut2017-05-02 20:27:46 +0200
committerTom Rini2017-06-29 13:30:51 -0400
commit4e843834abaab57bcba45a4ff6d1796b5e3e9d97 (patch)
tree2079f6c0c0b4c2593a5c4358a4cc5d414895e47d /include
parent4425be39eb40dbf02149b458d7c9b6190cc261bb (diff)
ARM: at91: ma5d4: Enable support for booting from eMMC
The SoM has been redesigned to work around bug in the SoC and is now capable of booting from the eMMC. Add support for booting from eMMC. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ma5d4evk.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/ma5d4evk.h b/include/configs/ma5d4evk.h
index 0bb1ebb2f9b..69988a80185 100644
--- a/include/configs/ma5d4evk.h
+++ b/include/configs/ma5d4evk.h
@@ -210,4 +210,13 @@
#define CONFIG_SPL_SPI_LOAD
#define CONFIG_SYS_SPI_U_BOOT_OFFS 0x10000
+#define CONFIG_SYS_USE_MMC
+#define CONFIG_SPL_LDSCRIPT arch/arm/mach-at91/armv7/u-boot-spl.lds
+#define CONFIG_SPL_MMC_SUPPORT
+#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200
+#define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1
+#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
+#define CONFIG_SPL_FAT_SUPPORT
+#define CONFIG_SPL_LIBDISK_SUPPORT
+
#endif /* __MA5D4EVK_CONFIG_H__ */