Commit 5c291bef30e10bb6fed4f65c1f7a4d58c20eb8a6

Authored by Uri Mashiach
Committed by Tom Rini
1 parent d757975737

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>

Showing 2 changed files with 4 additions and 3 deletions Side-by-side Diff

configs/cl-som-am57x_defconfig
... ... @@ -5,6 +5,7 @@
5 5 # CONFIG_SPL_NAND_SUPPORT is not set
6 6 CONFIG_VERSION_VARIABLE=y
7 7 CONFIG_SPL=y
  8 +# CONFIG_SPL_EXT_SUPPORT is not set
8 9 CONFIG_HUSH_PARSER=y
9 10 CONFIG_CMD_BOOTZ=y
10 11 # CONFIG_CMD_IMLS is not set
include/configs/cl-som-am57x.h
... ... @@ -42,9 +42,9 @@
42 42 #define CONFIG_SPL_SPI_FLASH_SUPPORT
43 43 #define CONFIG_SPL_SPI_LOAD
44 44  
45   -/* SD/MMC RAW boot */
46   -#undef CONFIG_SPL_FS_LOAD_PAYLOAD_NAME
47   -#undef CONFIG_SYS_MMCSD_FS_BOOT_PARTITION
  45 +/* SD/MMC RAW/FS boot */
  46 +#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
  47 +#define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1
48 48  
49 49 /* Environment */
50 50 #define CONFIG_ENV_SIZE (16 << 10) /* 16 KiB env size */