mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-24 03:53:31 +00:00
0cc0c098c8
Use already present common.env file and add a powerpc specific env so that we can move all the environment defines to text files. Signed-off-by: Holger Brunck <holger.brunck@hitachienergy.com>
14 lines
375 B
Bash
14 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
|