diff options
author | Rick Chen <rick@andestech.com> | 2018-03-29 10:08:33 +0800 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2018-03-30 13:13:56 +0800 |
commit | d58717e42559189a226ea800173147399c8edef9 (patch) | |
tree | a94bffe91400f0486571454a3db56733899c4c7e /configs | |
parent | 2bc5bea9e160c7efe5a268a55b440ac8cf848b48 (diff) |
riscv: ae250: Support DT provided by the board at runtime
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>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/nx25-ae250_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/nx25-ae250_defconfig b/configs/nx25-ae250_defconfig index eb41d71357..4f9bd58f75 100644 --- a/configs/nx25-ae250_defconfig +++ b/configs/nx25-ae250_defconfig @@ -16,6 +16,7 @@ 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 |