mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 17:58:23 +00:00
f3c71c93d7
Add support for storing the environment in CFI NOR flash on Juno and FVP models. I also removed some config values that are not used by CFI flash parts. Juno has 1 flash part with 259 sectors. The first 255 sectors are 0x40000 (256kb) and are followed by 4 sectors of 0x10000 (64KB). FVP models simulate a 64MB NOR flash part at base address 0x0FFC0000. This part has 256 x 256kb sectors. We use the last sector to store the environment. To save the NOR flash to a file, the following parameters should be passed to the model: -C bp.flashloader1.fname=${FILENAME} -C bp.flashloader1.fnameWrite=${FILENAME} Foundation models don't simulate the NOR flash, but having NOR support in the u-boot binary does not harm: attempting to write to the NOR will fail gracefully. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org>
18 lines
524 B
Text
18 lines
524 B
Text
CONFIG_ARM=y
|
|
CONFIG_TARGET_VEXPRESS64_BASE_FVP_DRAM=y
|
|
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="vexpress64"
|
|
CONFIG_SYS_PROMPT="VExpress64# "
|
|
# CONFIG_CMD_CONSOLE is not set
|
|
# CONFIG_CMD_IMLS is not set
|
|
# CONFIG_CMD_XIMG is not set
|
|
# CONFIG_CMD_EDITENV is not set
|
|
# CONFIG_CMD_ENV_EXISTS is not set
|
|
# CONFIG_CMD_LOADS is not set
|
|
# CONFIG_CMD_FPGA is not set
|
|
# CONFIG_CMD_ITEST is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
# CONFIG_CMD_NFS is not set
|
|
# CONFIG_CMD_MISC is not set
|
|
CONFIG_DM=y
|