diff mbox

[U-Boot,07/11] ARM: at91: ma5d4: Enable support for booting from eMMC

Message ID 20170502182750.8907-7-marex@denx.de
State Accepted
Commit 4e843834abaab57bcba45a4ff6d1796b5e3e9d97
Delegated to: Tom Rini
Headers show

Commit Message

Marek Vasut May 2, 2017, 6:27 p.m. UTC
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>
---
 include/configs/ma5d4evk.h | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Tom Rini June 30, 2017, 1:27 a.m. UTC | #1
On Tue, May 02, 2017 at 08:27:46PM +0200, Marek Vasut wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/ma5d4evk.h b/include/configs/ma5d4evk.h
index f6c883dd70..d65ac43096 100644
--- a/include/configs/ma5d4evk.h
+++ b/include/configs/ma5d4evk.h
@@ -218,4 +218,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__ */