u-boot/include/env/pg-wcom/powerpc.env
Simon Glass 5e541a05f7 env: Use include/env for text-environment includes
The 'environment' word is too long. We mostly use 'env' in U-Boot, so use
that as the name of the include directory too.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> # Intel Edison
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2023-08-09 23:31:12 +08: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