u-boot/include/environment/pg-wcom/powerpc.env
Holger Brunck 5043ce2874 km/ppc: remove km-mpc8360.h and km-mpc832x.h
Next step to get rid of the header files in icnlude/configs. Move
most of the defines to km83xx.c directly. Some remaining defines
which should go to Kconfig are moved to km-mpc83xx.h for now.

Also remove some unused defines and move one define to powerpc.env
as we only need it there.

Signed-off-by: Holger Brunck <holger.brunck@hitachienergy.com>
2023-02-06 13:04:53 -05:00

16 lines
411 B
Bash

#define BOOTFLASH_START 0xF0000000
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