]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: am57xx: cl-som-am57x: support for FS boot
authorUri Mashiach <uri.mashiach@compulab.co.il>
Wed, 17 May 2017 14:29:25 +0000 (17:29 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 5 Jun 2017 18:13:00 +0000 (14:13 -0400)
Supported boot devices are raw QSPI and raw SD card.
Add support for a FAT16/32 file system for SD card.

The SOC's boot ROM only supports FAT file system.
Therefore remove the SPL support for the EXT file system.

Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>
Reviewed-by: Tom Rini <trini@konsulko.com>
configs/cl-som-am57x_defconfig
include/configs/cl-som-am57x.h

index 8485137f1adfd9e6be12a0238b1a9469381115f8..13458da8a5a0f7e0b09876421559d332acee3f1b 100644 (file)
@@ -5,6 +5,7 @@ CONFIG_TARGET_CL_SOM_AM57X=y
 # CONFIG_SPL_NAND_SUPPORT is not set
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+# CONFIG_SPL_EXT_SUPPORT is not set
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
index 96e5c9cdd5a1931f9ca186a2474abc5d84714113..33626f72eb7485a5728f381ce3464524776cd60e 100644 (file)
@@ -42,9 +42,9 @@
 #define CONFIG_SPL_SPI_FLASH_SUPPORT
 #define CONFIG_SPL_SPI_LOAD
 
-/* SD/MMC RAW boot */
-#undef CONFIG_SPL_FS_LOAD_PAYLOAD_NAME
-#undef CONFIG_SYS_MMCSD_FS_BOOT_PARTITION
+/* SD/MMC RAW/FS boot */
+#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
+#define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1
 
 /* Environment */
 #define CONFIG_ENV_SIZE                        (16 << 10) /* 16 KiB env size */