doc: Explain how to avoid the distro-boot scripts
[platform/kernel/u-boot.git] / include / environment / pg-wcom / powerpc.env
1 #define BOOTFLASH_START 0xF0000000
2
3 arch=ppc_82xx
4 bootm_mapsize=CONFIG_SYS_BOOTM_LEN
5 checkfdt=true
6 set_fdthigh=true
7
8 update=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
13 newenv=prot off CONFIG_ENV_ADDR +0x40000 &&
14        era CONFIG_ENV_ADDR +0x40000
15
16 unlock=yes