mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-13 08:27:23 +00:00
d58717e425
Enable CONFIG_OF_BOAD to support delivery dtb to u-boot at run time instead of embedded. There are two methods to delivery dtb. 1 Pass from loader: When u-boot boot from RAM, gdb or loader can pass dtb via a2 to u-boot dynamically. Of course gdb or loader shall be in charge of dtb delivery. 2 Configure CONFIG_SYS_FDT_BASE: It can be configured as RAM or ROM base statically, no mater u-boot boot from RAM or ROM. If it was configured as ROM base, dtb can be burned into ROM(spi flash) by spi driver. Meanwhile remove CONFIG_SKIP_LOWLEVEL_INIT which is useless in nx25-ae250 configuration. Signed-off-by: Rick Chen <rick@andestech.com> Signed-off-by: Rick Chen <rickchen36@gmail.com> Cc: Greentime Hu <green.hu@gmail.com>
39 lines
815 B
Text
39 lines
815 B
Text
CONFIG_RISCV=y
|
|
CONFIG_SYS_TEXT_BASE=0x00000000
|
|
CONFIG_DEFAULT_DEVICE_TREE="ae250"
|
|
CONFIG_TARGET_NX25_AE250=y
|
|
CONFIG_FIT=y
|
|
CONFIG_BOOTDELAY=3
|
|
# CONFIG_AUTO_COMPLETE is not set
|
|
CONFIG_SYS_PROMPT="RISC-V # "
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_SF=y
|
|
CONFIG_CMD_SF_TEST=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_EXT2=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_OF_BOARD=y
|
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_DM=y
|
|
CONFIG_CLK=y
|
|
CONFIG_MMC=y
|
|
CONFIG_DM_MMC=y
|
|
CONFIG_FTSDC010=y
|
|
CONFIG_FTSDC010_SDIO=y
|
|
CONFIG_DM_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_MACRONIX=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_FTMAC100=y
|
|
CONFIG_BAUDRATE=38400
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_ATCSPI200_SPI=y
|
|
CONFIG_TIMER=y
|
|
CONFIG_ATCPIT100_TIMER=y
|