From: Uri Mashiach Date: Wed, 17 May 2017 14:29:25 +0000 (+0300) Subject: arm: am57xx: cl-som-am57x: support for FS boot X-Git-Tag: v2017.07-rc1~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5c291bef30e10bb6fed4f65c1f7a4d58c20eb8a6;p=u-boot 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 Reviewed-by: Tom Rini --- 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 */