blob: 744c07388c96a438bcfc641e748423d647b69ce7 [file] [log] [blame]
Holger Brunckff75d192023-01-24 09:42:40 +01001#define BOOTFLASH_START 0xF0000000
2
Holger Brunck1c7917e2022-12-02 18:22:38 +01003arch=ppc_82xx
4bootm_mapsize=CONFIG_SYS_BOOTM_LEN
5checkfdt=true
6set_fdthigh=true
7
8update=protect off BOOTFLASH_START +${filesize} &&
9 erase BOOTFLASH_START +${filesize} &&
10 cp.b ${load_addr_r} BOOTFLASH_START ${filesize} &&
11 protect on BOOTFLASH_START +${filesize}
12
13newenv=prot off CONFIG_ENV_ADDR +0x40000 &&
14 era CONFIG_ENV_ADDR +0x40000
15
16unlock=yes