]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: fsl: move bootrom specific defines to Kconfig
authorRajesh Bhagat <rajesh.bhagat@nxp.com>
Thu, 11 Feb 2021 12:28:49 +0000 (13:28 +0100)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 5 Mar 2021 04:55:41 +0000 (10:25 +0530)
Moves below bootrom specific defines to Kconfig:

    CONFIG_SYS_FSL_BOOTROM_BASE
    CONFIG_SYS_FSL_BOOTROM_SIZE

Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/Kconfig
arch/arm/include/asm/arch-fsl-layerscape/cpu.h
scripts/config_whitelist.txt

index 4d465872140b11bf942d52706c7fd23bfd1eeffe..ae0b7b21e81bd95719f90a291821f1e2d2cdac6d 100644 (file)
@@ -640,3 +640,13 @@ config HAS_FSL_XHCI_USB
        help
          For some SoC(such as LS1043A and LS1046A), USB and QE-HDLC multiplex use
          pins, select it when the pins are assigned to USB.
+
+config SYS_FSL_BOOTROM_BASE
+       hex
+       depends on FSL_LSCH2
+       default 0
+
+config SYS_FSL_BOOTROM_SIZE
+       hex
+       depends on FSL_LSCH2
+       default 0x1000000
index 4335aa0ec28f382bdc52fdad12aae8ae8f88f656..c51b65ea36d9f47ecdf09c2e191e9a1095f98870 100644 (file)
@@ -69,8 +69,6 @@
 #define CONFIG_SYS_FSL_DRAM_SIZE2      0x7F80000000
 #endif
 #elif defined(CONFIG_FSL_LSCH2)
-#define CONFIG_SYS_FSL_BOOTROM_BASE    0x0
-#define CONFIG_SYS_FSL_BOOTROM_SIZE    0x1000000
 #define CONFIG_SYS_FSL_CCSR_BASE       0x1000000
 #define CONFIG_SYS_FSL_CCSR_SIZE       0xf000000
 #define CONFIG_SYS_FSL_DCSR_BASE       0x20000000
index e98185c06420cd0824ce9a0cf3a12cf15f94c444..3ba2781e5a39f426c80cb660f17e2953baad1137 100644 (file)
@@ -2251,8 +2251,6 @@ CONFIG_SYS_FSL_AIOP1_SIZE
 CONFIG_SYS_FSL_B4860QDS_XFI_ERR
 CONFIG_SYS_FSL_BMAN_ADDR
 CONFIG_SYS_FSL_BMAN_OFFSET
-CONFIG_SYS_FSL_BOOTROM_BASE
-CONFIG_SYS_FSL_BOOTROM_SIZE
 CONFIG_SYS_FSL_CCSR_BASE
 CONFIG_SYS_FSL_CCSR_GUR_BE
 CONFIG_SYS_FSL_CCSR_GUR_LE