Commit cd2d8245ac364b15becbf117dec4cfa677f21cee
Committed by
Tom Rini
1 parent
fd3c26f3f9
Exists in
smarc_8mq_lf_v2020.04
and in
9 other branches
ARM: da850evm: Fix TI boot scripts for MMC
The da850evm include environment/ti/mmc.h and places DEFAULT_MMC_TI_ARGS, defined int that file, in CONFIG_EXTRA_ENV_SETTINGS. This has been broken for some time since neither CMD_PART nor CMD_UUID are available, so manually changing the environmental variables was always required before booting from MMC. With this patch, these scripts should work again, and by default they point to mmc 0, partition 2, and the dtb file exists in a /boot directory on partition 2. Signed-off-by: Adam Ford <aford173@gmail.com>
Showing 1 changed file with 2 additions and 3 deletions Side-by-side Diff
configs/da850evm_defconfig
... | ... | @@ -9,9 +9,9 @@ |
9 | 9 | CONFIG_SYS_MALLOC_F_LEN=0x800 |
10 | 10 | CONFIG_SPL_SERIAL_SUPPORT=y |
11 | 11 | CONFIG_SPL=y |
12 | +CONFIG_NR_DRAM_BANKS=1 | |
12 | 13 | CONFIG_SPL_SPI_FLASH_SUPPORT=y |
13 | 14 | CONFIG_SPL_SPI_SUPPORT=y |
14 | -CONFIG_NR_DRAM_BANKS=1 | |
15 | 15 | CONFIG_SYS_EXTRA_OPTIONS="MAC_ADDR_IN_SPIFLASH" |
16 | 16 | CONFIG_BOOTDELAY=3 |
17 | 17 | CONFIG_DEFAULT_FDT_FILE="da850-evm.dtb" |
18 | 18 | |
... | ... | @@ -30,11 +30,10 @@ |
30 | 30 | CONFIG_CMD_DM=y |
31 | 31 | # CONFIG_CMD_FLASH is not set |
32 | 32 | # CONFIG_CMD_GPT is not set |
33 | -# CONFIG_CMD_PART is not set | |
34 | 33 | # CONFIG_CMD_SETEXPR is not set |
35 | 34 | # CONFIG_CMD_TIME is not set |
36 | 35 | # CONFIG_CMD_EXT4 is not set |
37 | -# CONFIG_CMD_FS_GENERIC is not set | |
36 | +CONFIG_CMD_FS_UUID=y | |
38 | 37 | CONFIG_CMD_MTDPARTS=y |
39 | 38 | CONFIG_MTDIDS_DEFAULT="nor0=spi0.0" |
40 | 39 | CONFIG_MTDPARTS_DEFAULT="mtdparts=spi0.0:512k(u-boot.ais),64k(u-boot-env),7552k(kernel-spare),64k(MAC-Address)" |