blob: a57fd93092d3d780c759a4a53fcbdc155571d1a5 [file] [log] [blame]
Holger Brunck1c7917e2022-12-02 18:22:38 +01001arch=ppc_82xx
2bootm_mapsize=CONFIG_SYS_BOOTM_LEN
3checkfdt=true
4set_fdthigh=true
5
6update=protect off BOOTFLASH_START +${filesize} &&
7 erase BOOTFLASH_START +${filesize} &&
8 cp.b ${load_addr_r} BOOTFLASH_START ${filesize} &&
9 protect on BOOTFLASH_START +${filesize}
10
11newenv=prot off CONFIG_ENV_ADDR +0x40000 &&
12 era CONFIG_ENV_ADDR +0x40000
13
14unlock=yes