mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 08:31:03 +00:00
34a5addb7b
Set environment for Nand flash (U-boot 2020.04): - add nand flash in the device tree - add new default configuration file for G3 using parallel Nand - set nand parameters in presidio_asic.h Signed-off-by: Kate Liu <kate.liu@cortina-access.com> Signed-off-by: Alex Nemirovsky <alex.nemirovsky@cortina-access.com> CC: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
33 lines
801 B
Text
33 lines
801 B
Text
CONFIG_ARM=y
|
|
# CONFIG_SYS_ARCH_TIMER is not set
|
|
CONFIG_TARGET_PRESIDIO_ASIC=y
|
|
CONFIG_SYS_TEXT_BASE=0x04000000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_ENV_SIZE=0x20000
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_IDENT_STRING="Presidio-SoC"
|
|
CONFIG_DEFAULT_DEVICE_TREE="ca-presidio-engboard"
|
|
CONFIG_SHOW_BOOT_PROGRESS=y
|
|
CONFIG_BOOTDELAY=3
|
|
CONFIG_USE_BOOTARGS=y
|
|
CONFIG_BOOTARGS="earlycon=serial,0xf4329148 console=ttyS0,115200 root=/dev/ram0"
|
|
CONFIG_BOARD_EARLY_INIT_R=y
|
|
CONFIG_SYS_PROMPT="G3#"
|
|
CONFIG_CMD_MTD=y
|
|
CONFIG_CMD_WDT=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_TIMER=y
|
|
CONFIG_CMD_SMC=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_OF_LIVE=y
|
|
# CONFIG_NET is not set
|
|
CONFIG_DM=y
|
|
CONFIG_CORTINA_GPIO=y
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_CORTINA_NAND=y
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_CORTINA_UART=y
|
|
CONFIG_WDT=y
|
|
CONFIG_WDT_CORTINA=y
|