corstone1000: Convert to text file environment

Convert this platform to using the text file environment rather than
defining CONFIG_EXTRA_ENV_SETTINGS.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2022-06-22 11:25:52 -04:00
parent 781a144a7a
commit 929e581a62
2 changed files with 13 additions and 14 deletions

View File

@ -0,0 +1,13 @@
/* SPDX-License-Identifier: GPL-2.0+ */
usb_pgood_delay=250
boot_bank_flag=0x08002000
kernel_addr_bank_0=0x083EE000
kernel_addr_bank_1=0x0936E000
retrieve_kernel_load_addr=
if itest.l *${boot_bank_flag} == 0; then
setenv kernel_addr $kernel_addr_bank_0;
else
setenv kernel_addr $kernel_addr_bank_1;
fi;
kernel_addr_r=0x88200000

View File

@ -24,18 +24,4 @@
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
#define CONFIG_EXTRA_ENV_SETTINGS \
"usb_pgood_delay=250\0" \
"boot_bank_flag=0x08002000\0" \
"kernel_addr_bank_0=0x083EE000\0" \
"kernel_addr_bank_1=0x0936E000\0" \
"retrieve_kernel_load_addr=" \
"if itest.l *${boot_bank_flag} == 0; then " \
"setenv kernel_addr $kernel_addr_bank_0;" \
"else " \
"setenv kernel_addr $kernel_addr_bank_1;" \
"fi;" \
"\0" \
"kernel_addr_r=0x88200000\0"
#endif