board: amlogic: add proper boot device detection for params.bin load
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 12 Nov 2020 11:49:53 +0000 (12:49 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 16 Nov 2021 10:04:04 +0000 (11:04 +0100)
commit87f5e055231d7d3c2b7d0d1e4aec3f264d74e664
treedda628d48bccd3ae94f60fd4cf1a6ae7efce23ce
parentfee1bb85ce8ba6be709338debe08f3d2fbf7d4c4
board: amlogic: add proper boot device detection for params.bin load

Detect eMMC/SD card boot and report proper MMC device to the environment
loading code. This requires to use an empty device part in
CONFIG_ENV_FAT_DEVICE_AND_PART to let the code update the device to the
value returned by mmc_get_env_dev() function.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I4ff26f3be631a018a3707b58b6ffaf15fd717001
configs/khadas-vim3_defconfig
configs/odroid-c4_defconfig
configs/odroid-n2_defconfig