colibri_imx7: remove legacy sdboot wrapper
Remove legacy sdboot wrapper as distroboot can be used instead. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
This commit is contained in:
parent
541bfadc70
commit
e2c3c2e32c
@ -109,28 +109,6 @@
|
||||
"ramdisk_addr_r=0x82100000\0" \
|
||||
"scriptaddr=0x82500000\0"
|
||||
|
||||
#if defined(CONFIG_TARGET_COLIBRI_IMX7_NAND)
|
||||
#define SD_BOOTDEV 0
|
||||
#elif defined(CONFIG_TARGET_COLIBRI_IMX7_EMMC)
|
||||
#define SD_BOOTDEV 1
|
||||
#endif
|
||||
|
||||
#define SD_BOOTCMD \
|
||||
"set_sdargs=setenv sdargs root=PARTUUID=${uuid} ro rootwait\0" \
|
||||
"sdboot=run setup; run sdfinduuid; run set_sdargs; " \
|
||||
"setenv bootargs ${defargs} ${sdargs} " \
|
||||
"${setupargs} ${vidargs}; echo Booting from MMC/SD card...; " \
|
||||
"run m4boot && " \
|
||||
"load mmc ${sddev}:${sdbootpart} ${kernel_addr_r} ${kernel_file} && " \
|
||||
"load mmc ${sddev}:${sdbootpart} ${fdt_addr_r} " \
|
||||
"${soc}-colibri-${fdt_board}.dtb && " \
|
||||
"run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \
|
||||
"sdbootpart=1\0" \
|
||||
"sddev=" __stringify(SD_BOOTDEV) "\0" \
|
||||
"sdfinduuid=part uuid mmc ${sddev}:${sdrootpart} uuid\0" \
|
||||
"sdrootpart=2\0"
|
||||
|
||||
|
||||
#define NFS_BOOTCMD \
|
||||
"nfsargs=ip=:::::eth0: root=/dev/nfs\0" \
|
||||
"nfsboot=run setup; " \
|
||||
@ -184,7 +162,6 @@
|
||||
BOOTENV \
|
||||
MEM_LAYOUT_ENV_SETTINGS \
|
||||
NFS_BOOTCMD \
|
||||
SD_BOOTCMD \
|
||||
MODULE_EXTRA_ENV_SETTINGS \
|
||||
"boot_file=zImage\0" \
|
||||
"console=ttymxc0\0" \
|
||||
|
Loading…
Reference in New Issue
Block a user