summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUri Mashiach <uri.mashiach@compulab.co.il>2017-05-17 17:29:25 +0300
committerTom Rini <trini@konsulko.com>2017-06-05 14:13:00 -0400
commit5c291bef30e10bb6fed4f65c1f7a4d58c20eb8a6 (patch)
tree187f227e4453302d14d429d066a9455f2587fdc0
parentd7579757378466fa3e091df9e86b4be87dc4ed1b (diff)
arm: am57xx: cl-som-am57x: support for FS boot
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>
-rw-r--r--configs/cl-som-am57x_defconfig1
-rw-r--r--include/configs/cl-som-am57x.h6
2 files changed, 4 insertions, 3 deletions
diff --git a/configs/cl-som-am57x_defconfig b/configs/cl-som-am57x_defconfig
index 8485137f1a..13458da8a5 100644
--- a/configs/cl-som-am57x_defconfig
+++ b/configs/cl-som-am57x_defconfig
@@ -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
diff --git a/include/configs/cl-som-am57x.h b/include/configs/cl-som-am57x.h
index 96e5c9cdd5..33626f72eb 100644
--- a/include/configs/cl-som-am57x.h
+++ b/include/configs/cl-som-am57x.h
@@ -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 */