mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-20 18:23:08 +00:00
553d7607c6
Create a common.env which we can use later on also for other boards. Signed-off-by: Holger Brunck <holger.brunck@hitachienergy.com>
29 lines
1,017 B
Bash
29 lines
1,017 B
Bash
#define WCOM_UBI_PARTITION_APP
|
|
|
|
#include <environment/pg-wcom/common.env>
|
|
|
|
EEprom_ivm=pca9547:70:9
|
|
boot=bootm $load_addr_r - $fdt_addr_r
|
|
checkfdt=true
|
|
cramfsloadfdt=cramfsload $fdt_addr_r fdt_0x${IVM_BoardId}_0x${IVM_HWKey}.dtb
|
|
ethrotate=no
|
|
hwconfig=devdis:esdhc,usb3,usb2,sata,sec,dcu,duart2,qspi,can1,can2_4,ftm2_8,i2c2_3,sai1_4,lpuart2_6,asrc,spdif,lpuart1,ftm1
|
|
netdev=eth2
|
|
|
|
newenv=protect off CONFIG_ENV_ADDR_REDUND +0x40000 &&
|
|
erase CONFIG_ENV_ADDR_REDUND +0x40000 &&
|
|
protect on CONFIG_ENV_ADDR_REDUND +0x40000
|
|
|
|
set_fdthigh=true
|
|
|
|
update=protect off CONFIG_SYS_MONITOR_BASE +${filesize} &&
|
|
erase CONFIG_SYS_MONITOR_BASE +${filesize} &&
|
|
cp.b ${load_addr_r} CONFIG_SYS_MONITOR_BASE ${filesize} &&
|
|
protect on CONFIG_SYS_MONITOR_BASE +${filesize}
|
|
|
|
update-nor=protect off CONFIG_SYS_FLASH_BASE +${filesize} &&
|
|
erase CONFIG_SYS_FLASH_BASE +${filesize} &&
|
|
cp.b ${load_addr_r} CONFIG_SYS_FLASH_BASE ${filesize} &&
|
|
protect on CONFIG_SYS_MONITOR_BASE +0x100000
|
|
|
|
uimage=uImage
|