Holger Brunck | 1c7917e | 2022-12-02 18:22:38 +0100 | [diff] [blame] | 1 | arch=ppc_82xx |
2 | bootm_mapsize=CONFIG_SYS_BOOTM_LEN | ||||
3 | checkfdt=true | ||||
4 | set_fdthigh=true | ||||
5 | |||||
6 | update=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 | |||||
11 | newenv=prot off CONFIG_ENV_ADDR +0x40000 && | ||||
12 | era CONFIG_ENV_ADDR +0x40000 | ||||
13 | |||||
14 | unlock=yes |