mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-23 19:43:33 +00:00
15 lines
375 B
Bash
15 lines
375 B
Bash
|
arch=ppc_82xx
|
||
|
bootm_mapsize=CONFIG_SYS_BOOTM_LEN
|
||
|
checkfdt=true
|
||
|
set_fdthigh=true
|
||
|
|
||
|
update=protect off BOOTFLASH_START +${filesize} &&
|
||
|
erase BOOTFLASH_START +${filesize} &&
|
||
|
cp.b ${load_addr_r} BOOTFLASH_START ${filesize} &&
|
||
|
protect on BOOTFLASH_START +${filesize}
|
||
|
|
||
|
newenv=prot off CONFIG_ENV_ADDR +0x40000 &&
|
||
|
era CONFIG_ENV_ADDR +0x40000
|
||
|
|
||
|
unlock=yes
|