global: Migrate CONFIG_SYS_FSL* symbols to the CFG_SYS namespace
[platform/kernel/u-boot.git] / arch / arm / Kconfig
index dab785e..7866e8f 100644 (file)
@@ -93,7 +93,7 @@ config LNX_KRNL_IMG_TEXT_OFFSET_BASE
        depends on LINUX_KERNEL_IMAGE_HEADER
        hex
        help
-         The value subtracted from CONFIG_SYS_TEXT_BASE to calculate the
+         The value subtracted from CONFIG_TEXT_BASE to calculate the
          TEXT_OFFSET value written to the Linux kernel image header.
 
 config GICV2
@@ -330,20 +330,6 @@ config CPU_V7R
        select SYS_ARM_MPU
        select SYS_CACHE_SHIFT_6
 
-config CPU_PXA
-       bool
-       select SYS_CACHE_SHIFT_5
-       imply SYS_ARM_MMU
-
-config CPU_PXA27X
-       bool
-       select CPU_PXA
-
-config CPU_SA1100
-       bool
-       select SYS_CACHE_SHIFT_5
-       imply SYS_ARM_MMU
-
 config SYS_CPU
        default "arm720t" if CPU_ARM720T
        default "arm920t" if CPU_ARM920T
@@ -354,8 +340,6 @@ config SYS_CPU
        default "armv7" if CPU_V7A
        default "armv7" if CPU_V7R
        default "armv7m" if CPU_V7M
-       default "pxa" if CPU_PXA
-       default "sa1100" if CPU_SA1100
        default "armv8" if ARM64
 
 config SYS_ARM_ARCH
@@ -369,14 +353,11 @@ config SYS_ARM_ARCH
        default 7 if CPU_V7A
        default 7 if CPU_V7M
        default 7 if CPU_V7R
-       default 5 if CPU_PXA
-       default 4 if CPU_SA1100
        default 8 if ARM64
 
 choice
        prompt "Select the ARM data write cache policy"
-       default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMCYGNUS || \
-                                             CPU_PXA || RZA1
+       default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMCYGNUS || RZA1
        default SYS_ARM_CACHE_WRITEBACK
 
 config SYS_ARM_CACHE_WRITEBACK
@@ -507,6 +488,15 @@ config TPL_SYS_THUMB_BUILD
           density. For ARM architectures that support Thumb2 this flag will
           result in Thumb2 code generated by GCC.
 
+config SYS_L2_PL310
+       bool "ARM PL310 L2 cache controller"
+       help
+         Enable support for ARM PL310 L2 cache controller in U-Boot
+
+config SPL_SYS_L2_PL310
+       bool "ARM PL310 L2 cache controller in SPL"
+       help
+         Enable support for ARM PL310 L2 cache controller in SPL
 
 config SYS_L2CACHE_OFF
        bool "L2cache off"
@@ -609,6 +599,9 @@ config ARM64_SUPPORT_AARCH32
        help
          This ARM64 system supports AArch32 execution state.
 
+config S5P
+       def_bool y if ARCH_EXYNOS || ARCH_S5PC1XX
+
 choice
        prompt "Target select"
        default TARGET_HIKEY
@@ -634,6 +627,7 @@ config ARCH_KIRKWOOD
        select BOARD_EARLY_INIT_F
        select CPU_ARM926EJS
        select GPIO_EXTRA_HEADER
+       select TIMER
 
 config ARCH_MVEBU
        bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
@@ -645,6 +639,8 @@ config ARCH_MVEBU
        select GPIO_EXTRA_HEADER
        select SPL_DM_SPI if SPL
        select SPL_DM_SPI_FLASH if SPL
+       select SPL_TIMER if SPL
+       select TIMER if !ARM64
        select OF_CONTROL
        select OF_SEPARATE
        select SPI
@@ -655,6 +651,7 @@ config ARCH_ORION5X
        select CPU_ARM926EJS
        select GPIO_EXTRA_HEADER
        select SPL_SEPARATE_BSS if SPL
+       select TIMER
 
 config TARGET_STV0991
        bool "Support stv0991"
@@ -681,31 +678,6 @@ config ARCH_BCM283X
        imply CMD_DM
        imply FAT_WRITE
 
-config ARCH_BCM63158
-       bool "Broadcom BCM63158 family"
-       select DM
-       select OF_CONTROL
-       imply CMD_DM
-
-config ARCH_BCM6753
-       bool "Broadcom BCM6753 family"
-       select CPU_V7A
-       select DM
-       select OF_CONTROL
-       imply CMD_DM
-
-config ARCH_BCM68360
-       bool "Broadcom BCM68360 family"
-       select DM
-       select OF_CONTROL
-       imply CMD_DM
-
-config ARCH_BCM6858
-       bool "Broadcom BCM6858 family"
-       select DM
-       select OF_CONTROL
-       imply CMD_DM
-
 config ARCH_BCMSTB
        bool "Broadcom BCM7XXX family"
        select CPU_V7A
@@ -722,6 +694,7 @@ config ARCH_BCMBCA
        bool "Broadcom broadband chip family"
        select DM
        select OF_CONTROL
+       imply CMD_DM
 
 config TARGET_VEXPRESS_CA9X4
        bool "Support vexpress_ca9x4"
@@ -796,6 +769,8 @@ config ARCH_HIGHBANK
        select AHCI
        select DM_ETH
        select PHYS_64BIT
+       select TIMER
+       select SP804_TIMER
        imply OF_HAS_PRIOR_STAGE
 
 config ARCH_INTEGRATOR
@@ -826,7 +801,6 @@ config ARCH_KEYSTONE
        select CMD_POWEROFF
        select CPU_V7A
        select DDR_SPD
-       select GPIO_EXTRA_HEADER
        select SUPPORT_SPL
        select SYS_ARCH_TIMER
        select SYS_THUMB_BUILD
@@ -922,6 +896,20 @@ config ARCH_IMX8ULP
        select OF_CONTROL
        select SUPPORT_SPL
        select GPIO_EXTRA_HEADER
+       select MISC
+       select IMX_SENTINEL
+       imply CMD_DM
+       imply DM_EVENT
+
+config ARCH_IMX9
+       bool "NXP i.MX9 platform"
+       select ARM64
+       select DM
+       select MACH_IMX
+       select SUPPORT_SPL
+       select GPIO_EXTRA_HEADER
+       select MISC
+       select IMX_SENTINEL
        imply CMD_DM
        imply DM_EVENT
 
@@ -992,15 +980,11 @@ config ARCH_MX6
        select SYS_FSL_HAS_SEC
        select SYS_FSL_SEC_COMPAT_4
        select SYS_FSL_SEC_LE
+       select SYS_L2_PL310 if !SYS_L2CACHE_OFF
        imply MXC_GPIO
        imply SYS_THUMB_BUILD
        imply SPL_SEPARATE_BSS
 
-if ARCH_MX6
-config SPL_LDSCRIPT
-       default "arch/arm/mach-omap2/u-boot-spl.lds"
-endif
-
 config ARCH_MX5
        bool "Freescale MX5"
        select BOARD_EARLY_INIT_F
@@ -1024,7 +1008,6 @@ config ARCH_NPCM
 config ARCH_APPLE
        bool "Apple SoCs"
        select ARM64
-       select BLK
        select CLK
        select CMD_USB
        select DM
@@ -1035,7 +1018,7 @@ config ARCH_APPLE
        select DM_SERIAL
        select DM_SPI
        select DM_USB
-       select DM_VIDEO
+       select VIDEO
        select IOMMU
        select LINUX_KERNEL_IMAGE_HEADER
        select OF_BOARD_SETUP
@@ -1121,7 +1104,6 @@ config ARCH_SOCFPGA
        select SPL_DM_SERIAL
        select SPL_LIBCOMMON_SUPPORT
        select SPL_LIBGENERIC_SUPPORT
-       select SPL_NAND_SUPPORT if SPL_NAND_DENALI
        select SPL_OF_CONTROL
        select SPL_SEPARATE_BSS if TARGET_SOCFPGA_SOC64
        select SPL_SERIAL
@@ -1247,6 +1229,18 @@ config ARCH_VERSAL
        imply BOARD_LATE_INIT
        imply ENV_VARS_UBOOT_RUNTIME_CONFIG
 
+config ARCH_VERSAL_NET
+       bool "Support Xilinx Keystone Platform"
+       select ARM64
+       select CLK
+       select DM
+       select DM_ETH if NET
+       select DM_MMC if MMC
+       select DM_SERIAL
+       select OF_CONTROL
+       imply BOARD_LATE_INIT
+       imply ENV_VARS_UBOOT_RUNTIME_CONFIG
+
 config ARCH_VF610
        bool "Freescale Vybrid"
        select CPU_V7A
@@ -1258,6 +1252,7 @@ config ARCH_VF610
 
 config ARCH_ZYNQ
        bool "Xilinx Zynq based platform"
+       select ARM_TWD_TIMER
        select CLK
        select CLK_ZYNQ
        select CPU_V7A
@@ -1277,7 +1272,9 @@ config ARCH_ZYNQ
        select SPL_DM_SPI_FLASH if SPL
        select SPL_OF_CONTROL if SPL
        select SPL_SEPARATE_BSS if SPL
+       select SPL_TIMER if SPL
        select SUPPORT_SPL
+       select TIMER
        imply ARCH_EARLY_INIT_R
        imply BOARD_LATE_INIT
        imply CMD_CLK
@@ -1983,7 +1980,7 @@ config ARCH_STM32MP
 config ARCH_ROCKCHIP
        bool "Support Rockchip SoCs"
        select BLK
-       select BINMAN if SPL_OPTEE || (SPL && !ARM64)
+       select BINMAN if SPL_OPTEE || SPL
        select DM
        select DM_GPIO
        select DM_I2C
@@ -2135,6 +2132,7 @@ config SERIAL_TAG
 
 config STATIC_MACH_TYPE
        bool "Statically define the Machine ID number"
+       default y if TARGET_DS109 || TARGET_NOKIA_RX51 || TARGET_DS414 || DEFAULT_DEVICE_TREE = "sun7i-a20-icnova-swac"
        help
          When booting via ATAGs, enable this option if we know the correct
          machine ID number to use at compile time.  Some systems will be
@@ -2143,6 +2141,10 @@ config STATIC_MACH_TYPE
 config MACH_TYPE
        int "Machine ID number"
        depends on STATIC_MACH_TYPE
+       default 527 if TARGET_DS109
+       default 1955 if TARGET_NOKIA_RX51
+       default 3036 if TARGET_DS414
+       default 4283 if DEFAULT_DEVICE_TREE = "sun7i-a20-icnova-swac"
        help
          When booting via ATAGs, the machine type must be passed as a number.
          For the full list see https://www.arm.linux.org.uk/developer/machines
@@ -2172,21 +2174,6 @@ config TI_SECURE_DEVICE
          authenticated) and the code. See the doc/README.ti-secure
          file for further details.
 
-if AM43XX || AM33XX || OMAP54XX || ARCH_KEYSTONE
-config ISW_ENTRY_ADDR
-       hex "Address in memory or XIP address of bootloader entry point"
-       default 0x402F4000 if AM43XX
-       default 0x402F0400 if AM33XX
-       default 0x40301350 if OMAP54XX
-       help
-         After any reset, the boot ROM searches the boot media for a valid
-         boot image. For non-XIP devices, the ROM then copies the image into
-         internal memory. For all boot modes, after the ROM processes the
-         boot image it eventually computes the entry point address depending
-         on the device type (secure/non-secure), boot media (xip/non-xip) and
-         image headers.
-endif
-
 config SYS_KWD_CONFIG
        string "kwbimage config file path"
        depends on ARCH_KIRKWOOD || ARCH_MVEBU
@@ -2251,6 +2238,8 @@ source "arch/arm/mach-imx/imx8m/Kconfig"
 
 source "arch/arm/mach-imx/imx8ulp/Kconfig"
 
+source "arch/arm/mach-imx/imx9/Kconfig"
+
 source "arch/arm/mach-imx/imxrt/Kconfig"
 
 source "arch/arm/mach-imx/mxs/Kconfig"
@@ -2301,6 +2290,8 @@ source "arch/arm/mach-zynqmp/Kconfig"
 
 source "arch/arm/mach-versal/Kconfig"
 
+source "arch/arm/mach-versal-net/Kconfig"
+
 source "arch/arm/mach-zynqmp-r5/Kconfig"
 
 source "arch/arm/cpu/armv7/Kconfig"
@@ -2322,10 +2313,6 @@ source "board/Marvell/octeontx2/Kconfig"
 source "board/armltd/vexpress/Kconfig"
 source "board/armltd/vexpress64/Kconfig"
 source "board/cortina/presidio-asic/Kconfig"
-source "board/broadcom/bcm963158/Kconfig"
-source "board/broadcom/bcm96753ref/Kconfig"
-source "board/broadcom/bcm968360bg/Kconfig"
-source "board/broadcom/bcm968580xref/Kconfig"
 source "board/broadcom/bcmns3/Kconfig"
 source "board/cavium/thunderx/Kconfig"
 source "board/eets/pdu001/Kconfig"
@@ -2354,6 +2341,7 @@ source "board/hisilicon/poplar/Kconfig"
 source "board/isee/igep003x/Kconfig"
 source "board/kontron/sl28/Kconfig"
 source "board/myir/mys_6ulx/Kconfig"
+source "board/siemens/common/Kconfig"
 source "board/seeed/npi_imx6ull/Kconfig"
 source "board/socionext/developerbox/Kconfig"
 source "board/st/stv0991/Kconfig"
@@ -2368,8 +2356,3 @@ source "board/xen/xenguest_arm64/Kconfig"
 source "arch/arm/Kconfig.debug"
 
 endmenu
-
-config SPL_LDSCRIPT
-       default "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds" if (ARCH_MX23 || ARCH_MX28) && !SPL_FRAMEWORK
-       default "arch/arm/cpu/arm1136/u-boot-spl.lds" if CPU_ARM1136
-       default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64