]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: ae350: Switch to use binman to generate u-boot.itb
authorBin Meng <bmeng.cn@gmail.com>
Mon, 10 May 2021 12:23:40 +0000 (20:23 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 19 May 2021 09:01:51 +0000 (17:01 +0800)
Use the new BINMAN_STANDALONE_FDT option for AE350 based SPL defconfigs,
so that binman is now used to generate u-boot.itb.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Rick Chen <rick@andestech.com>
arch/riscv/dts/ae350_32.dts
arch/riscv/dts/ae350_64.dts
board/AndesTech/ax25-ae350/Kconfig
configs/ae350_rv32_spl_defconfig
configs/ae350_rv32_spl_xip_defconfig
configs/ae350_rv64_spl_defconfig
configs/ae350_rv64_spl_xip_defconfig

index 3f8525fe56a91fe792a3a09fc6c67ff4a4942ec2..a0ab5e9be22ac67646c4e4722f4e5778d44f233c 100644 (file)
@@ -1,5 +1,7 @@
 /dts-v1/;
 
+#include "binman.dtsi"
+
 / {
        #address-cells = <1>;
        #size-cells = <1>;
index 482c70750300574f7bb24ddb2517a40ceaa0724b..f654f4809a248ba1eb08a4653e5d90c2aa61c87e 100644 (file)
@@ -1,5 +1,7 @@
 /dts-v1/;
 
+#include "binman.dtsi"
+
 / {
        #address-cells = <2>;
        #size-cells = <2>;
index 321dd0cb10ff5d5454f3cd43e6866b27d0e209cf..e50f505a2ba26b0ddf1581805dbb7c89e77bab53 100644 (file)
@@ -31,6 +31,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
        def_bool y
        select RISCV_NDS
        select SUPPORT_SPL
+       select BINMAN if SPL
        imply SMP
        imply SPL_RAM_SUPPORT
        imply SPL_RAM_DEVICE
index 153266f6476e979be46e8ff272684be18ea45696..47c8e9a621539edb3e7016232351eb1acfb9b5ef 100644 (file)
@@ -3,11 +3,13 @@ CONFIG_SYS_TEXT_BASE=0x01200000
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_ENV_SECT_SIZE=0x1000
 CONFIG_SPL=y
+CONFIG_DEFAULT_DEVICE_TREE="ae350_32"
 CONFIG_TARGET_AX25_AE350=y
 CONFIG_RISCV_SMODE=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_SPL_LOAD_FIT_ADDRESS=0x00200000
+# CONFIG_USE_SPL_FIT_GENERATOR is not set
 CONFIG_BOOTDELAY=3
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SYS_PROMPT="RISC-V # "
index 651b1eb7337852cd0e0a48f47613bea2bf85fb29..206ffe27203ed9af825207fadc24a675049d81e5 100644 (file)
@@ -4,12 +4,14 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_ENV_SECT_SIZE=0x1000
 CONFIG_SPL_TEXT_BASE=0x80000000
 CONFIG_SPL=y
+CONFIG_DEFAULT_DEVICE_TREE="ae350_32"
 CONFIG_TARGET_AX25_AE350=y
 CONFIG_RISCV_SMODE=y
 CONFIG_XIP=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_SPL_LOAD_FIT_ADDRESS=0x80010000
+# CONFIG_USE_SPL_FIT_GENERATOR is not set
 CONFIG_BOOTDELAY=3
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SYS_PROMPT="RISC-V # "
index f434091d4769e47a4db13969d2e7319d1fbc9afd..ef04e4a4b6bb9208c315628431501ab5837796e3 100644 (file)
@@ -3,12 +3,14 @@ CONFIG_SYS_TEXT_BASE=0x01200000
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_ENV_SECT_SIZE=0x1000
 CONFIG_SPL=y
+CONFIG_DEFAULT_DEVICE_TREE="ae350_64"
 CONFIG_TARGET_AX25_AE350=y
 CONFIG_ARCH_RV64I=y
 CONFIG_RISCV_SMODE=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_SPL_LOAD_FIT_ADDRESS=0x00200000
+# CONFIG_USE_SPL_FIT_GENERATOR is not set
 CONFIG_BOOTDELAY=3
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SYS_PROMPT="RISC-V # "
index b0afdb4cfee289ad7a13129368408992340f757b..21b7e8895b3ee5d328e900f95f2129d4306d207e 100644 (file)
@@ -4,6 +4,7 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_ENV_SECT_SIZE=0x1000
 CONFIG_SPL_TEXT_BASE=0x80000000
 CONFIG_SPL=y
+CONFIG_DEFAULT_DEVICE_TREE="ae350_64"
 CONFIG_TARGET_AX25_AE350=y
 CONFIG_ARCH_RV64I=y
 CONFIG_RISCV_SMODE=y
@@ -11,6 +12,7 @@ CONFIG_XIP=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_SPL_LOAD_FIT_ADDRESS=0x80010000
+# CONFIG_USE_SPL_FIT_GENERATOR is not set
 CONFIG_BOOTDELAY=3
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SYS_PROMPT="RISC-V # "