mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
env: ti: boot: Extract command for eMMC Linux boot
Extract commands for booting Linux from eMMC to separate command. It seems more logical that way, and allows us to run the whole command set from U-Boot shell with only one command. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
a0b0ff0ae6
commit
2717c08485
1 changed files with 6 additions and 4 deletions
|
@ -29,6 +29,11 @@
|
|||
"partitions=" PARTS_DEFAULT "\0" \
|
||||
"optargs=\0" \
|
||||
"dofastboot=0\0" \
|
||||
"emmc_linux_boot=" \
|
||||
"setenv mmcdev 1; " \
|
||||
"setenv bootpart 1:2; " \
|
||||
"setenv mmcroot /dev/mmcblk0p2 rw; " \
|
||||
"run mmcboot;\0" \
|
||||
"emmc_android_boot=" \
|
||||
"setenv eval_bootargs setenv bootargs $bootargs; " \
|
||||
"run eval_bootargs; " \
|
||||
|
@ -93,10 +98,7 @@
|
|||
"run findfdt; " \
|
||||
"run envboot; " \
|
||||
"run mmcboot;" \
|
||||
"setenv mmcdev 1; " \
|
||||
"setenv bootpart 1:2; " \
|
||||
"setenv mmcroot /dev/mmcblk0p2 rw; " \
|
||||
"run mmcboot;" \
|
||||
"run emmc_linux_boot; " \
|
||||
"run emmc_android_boot; " \
|
||||
""
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue