imx8mp: configs: add support for distro boot commands
authorAlice Guo <alice.guo@nxp.com>
Fri, 18 Dec 2020 07:19:26 +0000 (15:19 +0800)
committerStefano Babic <sbabic@denx.de>
Sat, 23 Jan 2021 10:30:31 +0000 (11:30 +0100)
commit9b162b1d1fa1e61158943f9a8d6dd16c61ad6d76
treebd0ec6ed2375f2b6419b75bd437f53e2fdbe1e70
parent9b8656bd2ba1ffc10e4e927da3c491c844369bd4
imx8mp: configs: add support for distro boot commands

Supported boot device types in iMX8MP: MMC.

CONFIG_CMD_PART is added for command part and CONFIG_CMD_FS_GENERIC is
for command fstype.

scriptaddr is the location in RAM where boot.scr.uimg/boot.scr will be
loaded to prior to execution. kernel_addr_r is the location in RAM where
the kernel will be loaded to. Delete unnecessary environment variables
because "run distro_bootcmd" is set to be the default boot mode.

On the iMX8MP platform I used, "mmc1" represents SD card and "mmc2"
represents eMMC.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
configs/imx8mp_evk_defconfig
include/configs/imx8mp_evk.h