[U-Boot] [PATCH] ARM: mx6: Enable MMC FS boot support

Marek Vasut
2016-04-27T23:06:07Z

Enable support for booting U-Boot image from filesystem instead of some
random offset on the SD card. This makes the board usable by putting the
u-boot.img to first partition of the SD card and writing the SPL this way:
$ dd if=u-boot-with-spl.imx of=/dev/sdX seek=2 bs=512

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
---
include/configs/wandboard.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h
index 99f5c0c..fbce730 100644
--- a/include/configs/wandboard.h
+++ b/include/configs/wandboard.h
@@ -14,6 +14,8 @@

#define CONFIG_SPL_LIBCOMMON_SUPPORT
#define CONFIG_SPL_MMC_SUPPORT
+#define CONFIG_SPL_FAT_SUPPORT
+#define CONFIG_SPL_EXT_SUPPORT
#include "imx6_spl.h"

#define MACH_TYPE_WANDBOARD 4412
--
2.7.0