]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: migrate CONFIG_SPL_LOAD_FIT_ADDRESS to defconfigs
authorPeng Fan <peng.fan@nxp.com>
Mon, 6 Jul 2020 07:35:01 +0000 (15:35 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 28 Jul 2020 20:18:10 +0000 (16:18 -0400)
Done with:
./tools/moveconfig.py -S SPL_LOAD_FIT_ADDRESS
./tools/moveconfig.py -S SPL_LOAD_FIT_ADDRESS -H

Signed-off-by: Peng Fan <peng.fan@nxp.com>
[trini: A few more migrations]
Signed-off-by: Tom Rini <trini@konsulko.com>
27 files changed:
configs/ae350_rv32_spl_defconfig
configs/ae350_rv32_spl_xip_defconfig
configs/ae350_rv64_spl_defconfig
configs/ae350_rv64_spl_xip_defconfig
configs/am57xx_hs_evm_usb_defconfig
configs/avnet_ultrazedev_cc_v1_0_ultrazedev_som_v1_0_defconfig
configs/dra7xx_evm_defconfig
configs/dra7xx_hs_evm_defconfig
configs/dra7xx_hs_evm_usb_defconfig
configs/j721e_evm_a72_defconfig
configs/j721e_evm_r5_defconfig
configs/j721e_hs_evm_a72_defconfig
configs/j721e_hs_evm_r5_defconfig
configs/qemu-riscv32_spl_defconfig
configs/qemu-riscv64_spl_defconfig
configs/sifive_fu540_defconfig
configs/xilinx_zynq_virt_defconfig
configs/xilinx_zynqmp_virt_defconfig
include/configs/am57xx_evm.h
include/configs/ax25-ae350.h
include/configs/dra7xx_evm.h
include/configs/j721e_evm.h
include/configs/qemu-riscv.h
include/configs/sifive-fu540.h
include/configs/xilinx_zynqmp.h
include/configs/zynq-common.h
scripts/config_whitelist.txt

index 9e68bb0413414ba53a52999813428c55740f38a8..3cc89bf20bbc2cab1042a6efb4948e967d0bfc6d 100644 (file)
@@ -7,6 +7,7 @@ CONFIG_TARGET_AX25_AE350=y
 CONFIG_RISCV_SMODE=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x00200000
 CONFIG_BOOTDELAY=3
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SYS_PROMPT="RISC-V # "
index 3448c79c93890fcd98c09556118ebb59cac56006..6e1798ee028cb269ccc13f0ba957a392250b2147 100644 (file)
@@ -9,6 +9,7 @@ CONFIG_RISCV_SMODE=y
 CONFIG_XIP=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x80010000
 CONFIG_BOOTDELAY=3
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SYS_PROMPT="RISC-V # "
index c927f12aa2c757d522810a862935a2a76403b4a0..9dfb34ee7e30d15f064a7e6d28fc88244381ab22 100644 (file)
@@ -8,6 +8,7 @@ CONFIG_ARCH_RV64I=y
 CONFIG_RISCV_SMODE=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x00200000
 CONFIG_BOOTDELAY=3
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SYS_PROMPT="RISC-V # "
index 5abd41bda99311a24caabb2060da77cbc48db36d..c52509d789483f22c1eea81bc0524ad4501e7f1e 100644 (file)
@@ -10,6 +10,7 @@ CONFIG_RISCV_SMODE=y
 CONFIG_XIP=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x80010000
 CONFIG_BOOTDELAY=3
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SYS_PROMPT="RISC-V # "
index fe2f65cf4607bf189e0c8fc90c970cb9731163aa..02639245436b18d5e1a5b4189678da7d9d02df2c 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_DEFAULT_DEVICE_TREE="am57xx-beagle-x15"
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT_IMAGE_POST_PROCESS=y
 CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x80200000
 CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_USE_BOOTARGS=y
index 2dc03b2796053ee031007b92d02c2cd96ad0d709..dd44168f5aeaed7e12af8ff4d419ac64b9306f91 100644 (file)
@@ -14,6 +14,7 @@ CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x10000000
 CONFIG_BOOTDELAY=0
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_BOARD_EARLY_INIT_F=y
index 971d559ba0f7c451bbe82ea27c63e961784ed262..1fb46456be8bd07dcf7f5dd4ee871975828835b5 100644 (file)
@@ -18,6 +18,7 @@ CONFIG_DEFAULT_DEVICE_TREE="dra7-evm"
 CONFIG_AHCI=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x80200000
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS0,115200 androidboot.console=ttyS0 androidboot.hardware=jacinto6evmboard"
index d6c9f01371fe4bee0bdb7a57540e4e5d59276265..56b7ec8d60a2bff77279a5fb1dc5e6702ac0571a 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_AHCI=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT_IMAGE_POST_PROCESS=y
 CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x80200000
 CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_USE_BOOTARGS=y
index d33a6c83e0065e9d9521126f5009de19ba7d1cb0..5bc03fd25a176674af41528292041a2fb9d828bd 100644 (file)
@@ -24,6 +24,7 @@ CONFIG_AHCI=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT_IMAGE_POST_PROCESS=y
 CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x80200000
 CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_USE_BOOTARGS=y
index cf8377697c11c6ad73ebc656eab8138a13f5cd7b..7e9f77fce767649f2fe992c21a9f4a157154ce3a 100644 (file)
@@ -27,6 +27,7 @@ CONFIG_DEFAULT_DEVICE_TREE="k3-j721e-common-proc-board"
 CONFIG_DISTRO_DEFAULTS=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x81000000
 CONFIG_BOOTCOMMAND="run findfdt; run envboot; run init_${boot}; run boot_rprocs; run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern"
 CONFIG_SPL_BOARD_INIT=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
index eb4990d02ee35d7d4375cd1383ccdd63fa209087..30be5d1461d9109460f6e9993640bae34986c0dd 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_DEFAULT_DEVICE_TREE="k3-j721e-r5-common-proc-board"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x80080000
 CONFIG_USE_BOOTCOMMAND=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL_BOARD_INIT=y
index 8820282aa23967dd677de3651e4999464501db4e..80d406229c1634b4f8783a62dd7e008e31bb369d 100644 (file)
@@ -27,6 +27,7 @@ CONFIG_DISTRO_DEFAULTS=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_FIT_IMAGE_POST_PROCESS=y
 CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x81000000
 CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
 CONFIG_BOOTCOMMAND="run findfdt; run envboot; run init_${boot}; run boot_rprocs; run get_fit_${boot}; run get_overlaystring; run run_fit"
 CONFIG_SPL_BOARD_INIT=y
index fe0d222b18e83ccdd0ebac87a716882ac18462f4..cb6f97b042497a78fedb45298309eecf2d148491 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_DEFAULT_DEVICE_TREE="k3-j721e-r5-common-proc-board"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x80080000
 CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
 CONFIG_USE_BOOTCOMMAND=y
 # CONFIG_DISPLAY_CPUINFO is not set
index 000c74d5b51c45afe3047970a1b5ae2ab2cc029d..2037ba2e5d748f2c2b4ba99c796874538b000073 100644 (file)
@@ -6,6 +6,7 @@ CONFIG_TARGET_QEMU_VIRT=y
 CONFIG_RISCV_SMODE=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x80200000
 CONFIG_DISPLAY_CPUINFO=y
 CONFIG_DISPLAY_BOARDINFO=y
 # CONFIG_CMD_MII is not set
index 34f963011cf73d0a09199fc6e81fd170011db58d..028b2d42ce900f24d68f1306359eceff3d881e65 100644 (file)
@@ -7,6 +7,7 @@ CONFIG_ARCH_RV64I=y
 CONFIG_RISCV_SMODE=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x80200000
 CONFIG_DISPLAY_CPUINFO=y
 CONFIG_DISPLAY_BOARDINFO=y
 # CONFIG_CMD_MII is not set
index 567803722f409c5a2b1f4cfe6f00bfc92a59e205..59804062d9fc899f27365bb42b7b2754b96a62da 100644 (file)
@@ -13,6 +13,7 @@ CONFIG_ARCH_RV64I=y
 CONFIG_RISCV_SMODE=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x84000000
 CONFIG_MISC_INIT_R=y
 CONFIG_DISPLAY_CPUINFO=y
 CONFIG_DISPLAY_BOARDINFO=y
index b4cafa1e50d29d9f9908e37e79c80cc2b37cd137..1033ef9031fe7aa4e69ee998d7d2ce3f237ab81b 100644 (file)
@@ -15,6 +15,7 @@ CONFIG_FIT_SIGNATURE=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_SPL_FIT_PRINT=y
 CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x10000000
 CONFIG_LEGACY_IMAGE_FORMAT=y
 CONFIG_USE_PREBOOT=y
 CONFIG_SPL_STACK_R=y
index 1eac5d4ebe29a7bcf5400cba288b5a185bce484d..cf07df8145cca76647b0b109093f24e2f438224a 100644 (file)
@@ -14,6 +14,7 @@ CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_LOAD_FIT_ADDRESS=0x10000000
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_BOARD_EARLY_INIT_R=y
index 5d5b8f4eb808b2d826a525e083e92dedcf80a25e..7d986cf8a1c4a25985c818ada7780d2c243621d8 100644 (file)
@@ -41,7 +41,6 @@
        DFU_ALT_INFO_QSPI
 #else
 #ifdef CONFIG_SPL_DFU
-#define CONFIG_SPL_LOAD_FIT_ADDRESS 0x80200000
 #define DFUARGS \
        "dfu_bufsiz=0x10000\0" \
        DFU_ALT_INFO_RAM
index a08fd6352f6665b43692cd653105139dc8a777ff..b2606e794dd27dc54051bddbb5ecff5ad9b2198b 100644 (file)
 #define CONFIG_SPL_BSS_START_ADDR      0x04000000
 #define CONFIG_SPL_BSS_MAX_SIZE                0x00100000
 
-#ifndef CONFIG_XIP
-#define CONFIG_SPL_LOAD_FIT_ADDRESS    0x00200000
-#else
-#define CONFIG_SPL_LOAD_FIT_ADDRESS    0x80010000
-#endif
-
 #ifdef CONFIG_SPL_MMC_SUPPORT
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME                "u-boot.itb"
 #endif
index 1653c7d2df5fc49ac50a53a07179854b6666d8de..3ceb73385d897a4aaa5773ca7d95c0e8a6f861a9 100644 (file)
@@ -49,7 +49,6 @@
 
 #ifdef CONFIG_SPL_BUILD
 #ifdef CONFIG_SPL_DFU
-#define CONFIG_SPL_LOAD_FIT_ADDRESS 0x80200000
 #define DFUARGS \
        "dfu_bufsiz=0x10000\0" \
        DFU_ALT_INFO_RAM
index 7488b661f53a166721cc1f402ea2f78ff45c8112..7b917c224776a5e397998c48fee3e5a5597fa56b 100644 (file)
@@ -24,7 +24,6 @@
 #define CONFIG_SYS_INIT_SP_ADDR         (CONFIG_SPL_TEXT_BASE +        \
                                         CONFIG_SYS_K3_NON_SECURE_MSRAM_SIZE)
 /* Image load address in RAM for DFU boot*/
-#define CONFIG_SPL_LOAD_FIT_ADDRESS    0x81000000
 #else
 /*
  * Maximum size in memory allocated to the SPL BSS. Keep it as tight as
@@ -48,7 +47,6 @@
 #define CONFIG_SYS_SPL_MALLOC_START    0x84000000
 #define CONFIG_SYS_SPL_MALLOC_SIZE     SZ_16M
 /* Image load address in RAM for DFU boot*/
-#define CONFIG_SPL_LOAD_FIT_ADDRESS    0x80080000
 #endif
 
 #ifdef CONFIG_SYS_K3_SPL_ATF
index 5fe9dcfc58f8edb1cfd5de3dbacb5ccb611e3331..aed9a4ae9906cd83da891fe3c296dccf07dd4942 100644 (file)
@@ -16,8 +16,6 @@
 #define CONFIG_SYS_SPL_MALLOC_START    0x84100000
 #define CONFIG_SYS_SPL_MALLOC_SIZE     0x00100000
 
-#define CONFIG_SPL_LOAD_FIT_ADDRESS    0x80200000
-
 #endif
 
 #define CONFIG_SYS_SDRAM_BASE          0x80000000
index f21411a701be98731634e0bff4916c4b524fdaa5..c1c79db1474579c209f07108a8ef9d8451182f34 100644 (file)
@@ -20,8 +20,6 @@
                                         CONFIG_SPL_BSS_MAX_SIZE)
 #define CONFIG_SYS_SPL_MALLOC_SIZE     0x00100000
 
-#define CONFIG_SPL_LOAD_FIT_ADDRESS    0x84000000
-
 #define CONFIG_SPL_STACK       (0x08000000 + 0x001D0000 - \
                                 GENERATED_GBL_DATA_SIZE)
 
index 58b463c9f47cf3d8c57e83535df385a7fe82955b..72aea1285f964b0a428e8a4fb38d53b88a3375df 100644 (file)
 /* ATF is my kernel image */
 #define CONFIG_SPL_FS_LOAD_KERNEL_NAME "atf-uboot.ub"
 
-/* FIT load address for RAM boot */
-#define CONFIG_SPL_LOAD_FIT_ADDRESS    0x10000000
-
 /* MMC support */
 #ifdef CONFIG_MMC_SDHCI_ZYNQ
 # define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0 /* unused */
index d05bdc4fb73f2b185d55c4845cf8315e62f310a9..79c75784f2bfaa0c118d96051a89433ec08cf602 100644 (file)
 #define CONFIG_SPL_BSS_START_ADDR      0x100000
 #define CONFIG_SPL_BSS_MAX_SIZE                0x100000
 
-#define CONFIG_SPL_LOAD_FIT_ADDRESS 0x10000000
-
 #endif /* __CONFIG_ZYNQ_COMMON_H */
index 13096829e027b4f4775cad05863dfcff2e49c5a3..6645d73cdcaaa9632a92f28baaf88c46e28f2b32 100644 (file)
@@ -1609,7 +1609,6 @@ CONFIG_SPL_GD_ADDR
 CONFIG_SPL_INIT_MINIMAL
 CONFIG_SPL_JR0_LIODN_NS
 CONFIG_SPL_JR0_LIODN_S
-CONFIG_SPL_LOAD_FIT_ADDRESS
 CONFIG_SPL_MAX_FOOTPRINT
 CONFIG_SPL_MAX_PEB_SIZE
 CONFIG_SPL_MAX_SIZE