amlogic: reinstate support for u-boot chainload

This commit is contained in:
Christian Hewitt 2023-02-06 02:08:49 +00:00
parent 29e9c4c936
commit b051ab9eb4
No known key found for this signature in database

View File

@ -1,3 +1,5 @@
if fatload mmc 0 0x1000000 u-boot.ext; then go 0x1000000; fi;
if fatload usb 0 0x1000000 u-boot.ext; then go 0x1000000; fi;
setenv env_addr 0x1040000 setenv env_addr 0x1040000
setenv boot_start 'bootm ${loadaddr} - ${dtb_mem_addr}' setenv boot_start 'bootm ${loadaddr} - ${dtb_mem_addr}'
setenv addmac 'if printenv mac; then setenv bootargs ${bootargs} mac=${mac}; elif printenv eth_mac; then setenv bootargs ${bootargs} mac=${eth_mac}; fi' setenv addmac 'if printenv mac; then setenv bootargs ${bootargs} mac=${mac}; elif printenv eth_mac; then setenv bootargs ${bootargs} mac=${eth_mac}; fi'