net: calxedagmac: Convert to DM_ETH
[platform/kernel/u-boot.git] / arch / arm / Kconfig
index a3930b5..e9f72b1 100644 (file)
@@ -12,17 +12,18 @@ config ARM64
 if ARM64
 config POSITION_INDEPENDENT
        bool "Generate position-independent pre-relocation code"
-       select INIT_SP_RELATIVE
        help
          U-Boot expects to be linked to a specific hard-coded address, and to
          be loaded to and run from that address. This option lifts that
-         restriction, thus allowing the code to be loaded to and executed
-         from almost any address. This logic relies on the relocation
+         restriction, thus allowing the code to be loaded to and executed from
+         almost any 4K aligned address. This logic relies on the relocation
          information that is embedded in the binary to support U-Boot
          relocating itself to the top-of-RAM later during execution.
 
 config INIT_SP_RELATIVE
        bool "Specify the early stack pointer relative to the .bss section"
+       default n if ARCH_QEMU
+       default y if POSITION_INDEPENDENT
        help
          U-Boot typically uses a hard-coded value for the stack pointer
          before relocation. Enable this option to instead calculate the
@@ -66,6 +67,7 @@ config GIC_V3_ITS
        bool "ARM GICV3 ITS"
        select REGMAP
        select SYSCON
+       select IRQ
        help
          ARM GICV3 Interrupt translation service (ITS).
          Basic support for programming locality specific peripheral
@@ -76,7 +78,7 @@ config GIC_V3_ITS
 
 config STATIC_RELA
        bool
-       default y if ARM64 && !POSITION_INDEPENDENT
+       default y if ARM64
 
 config DMA_ADDR_T_64BIT
        bool
@@ -345,7 +347,7 @@ config SYS_CACHELINE_SIZE
 choice
        prompt "Select the ARM data write cache policy"
        default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMCYGNUS || \
-                                             TARGET_BCMNSP || CPU_PXA || RZA1
+                                             CPU_PXA || RZA1
        default SYS_ARM_CACHE_WRITEBACK
 
 config SYS_ARM_CACHE_WRITEBACK
@@ -560,11 +562,6 @@ config ARCH_MVEBU
        select SPI
        imply CMD_DM
 
-config TARGET_APF27
-       bool "Support apf27"
-       select CPU_ARM926EJS
-       select SUPPORT_SPL
-
 config ARCH_ORION5X
        bool "Marvell Orion"
        select CPU_ARM926EJS
@@ -620,11 +617,6 @@ config TARGET_FLEA3
        bool "Support flea3"
        select CPU_ARM1136
 
-config TARGET_MX35PDK
-       bool "Support mx35pdk"
-       select BOARD_LATE_INIT
-       select CPU_ARM1136
-
 config ARCH_BCM283X
        bool "Broadcom BCM283X family"
        select DM
@@ -654,13 +646,6 @@ config ARCH_BCM6858
        select OF_CONTROL
        imply CMD_DM
 
-config TARGET_VEXPRESS_CA15_TC2
-       bool "Support vexpress_ca15_tc2"
-       select CPU_V7A
-       select CPU_V7_HAS_NONSEC
-       select CPU_V7_HAS_VIRT
-       select PL011_SERIAL
-
 config ARCH_BCMSTB
        bool "Broadcom BCM7XXX family"
        select CPU_V7A
@@ -672,28 +657,6 @@ config ARCH_BCMSTB
          This enables support for Broadcom ARM-based set-top box
          chipsets, including the 7445 family of chips.
 
-config TARGET_VEXPRESS_CA5X2
-       bool "Support vexpress_ca5x2"
-       select CPU_V7A
-       select PL011_SERIAL
-
-config TARGET_VEXPRESS_CA9X4
-       bool "Support vexpress_ca9x4"
-       select CPU_V7A
-       select PL011_SERIAL
-
-config TARGET_BCM23550_W1D
-       bool "Support bcm23550_w1d"
-       select CPU_V7A
-       imply CRC32_VERIFY
-       imply FAT_WRITE
-
-config TARGET_BCM28155_AP
-       bool "Support bcm28155_ap"
-       select CPU_V7A
-       imply CRC32_VERIFY
-       imply FAT_WRITE
-
 config TARGET_BCMCYGNUS
        bool "Support bcmcygnus"
        select CPU_V7A
@@ -705,10 +668,6 @@ config TARGET_BCMCYGNUS
        imply HASH_VERIFY
        imply NETDEVICES
 
-config TARGET_BCMNSP
-       bool "Support bcmnsp"
-       select CPU_V7A
-
 config TARGET_BCMNS2
        bool "Support Broadcom Northstar2"
        select ARM64
@@ -752,7 +711,15 @@ config ARCH_S5PC1XX
 config ARCH_HIGHBANK
        bool "Calxeda Highbank"
        select CPU_V7A
-       select PL011_SERIAL
+       select PL01X_SERIAL
+       select DM
+       select DM_SERIAL
+       select OF_CONTROL
+       select OF_BOARD
+       select CLK
+       select CLK_CCF
+       select AHCI
+       select DM_ETH
 
 config ARCH_INTEGRATOR
        bool "ARM Ltd. Integrator family"
@@ -767,8 +734,11 @@ config ARCH_IPQ40XX
        select DM
        select DM_GPIO
        select DM_SERIAL
+       select DM_RESET
+       select MSM_SMEM
        select PINCTRL
        select CLK
+       select SMEM
        select OF_CONTROL
        imply CMD_DM
 
@@ -795,6 +765,7 @@ config ARCH_OMAP2PLUS
        select SPL_BOARD_INIT if SPL
        select SPL_STACK_R if SPL
        select SUPPORT_SPL
+       imply TI_SYSC if DM && OF_CONTROL
        imply FIT
 
 config ARCH_MESON
@@ -839,6 +810,9 @@ config ARCH_IMX8
 config ARCH_IMX8M
        bool "NXP i.MX8M platform"
        select ARM64
+       select SYS_FSL_HAS_SEC if IMX_HAB
+       select SYS_FSL_SEC_COMPAT_4
+       select SYS_FSL_SEC_LE
        select DM
        select SUPPORT_SPL
        imply CMD_DM
@@ -875,6 +849,9 @@ config ARCH_MX31
 config ARCH_MX7ULP
        bool "NXP MX7ULP"
        select CPU_V7A
+       select SYS_FSL_HAS_SEC if IMX_HAB
+       select SYS_FSL_SEC_COMPAT_4
+       select SYS_FSL_SEC_LE
        select ROM_UNIFIED_SECTIONS
        imply MXC_GPIO
        imply SYS_THUMB_BUILD
@@ -929,30 +906,25 @@ config ARCH_OWL
 
 config ARCH_QEMU
        bool "QEMU Virtual Platform"
-       select ARCH_SUPPORT_TFABOOT
        select DM
        select DM_SERIAL
        select OF_CONTROL
        select PL01X_SERIAL
        imply CMD_DM
+       imply DM_RNG
        imply DM_RTC
        imply RTC_PL031
 
 config ARCH_RMOBILE
        bool "Renesas ARM SoCs"
-       select BOARD_EARLY_INIT_F if !RZA1
        select DM
        select DM_SERIAL
+       imply BOARD_EARLY_INIT_F
        imply CMD_DM
        imply FAT_WRITE
        imply SYS_THUMB_BUILD
        imply ARCH_MISC_INIT if DISPLAY_CPUINFO
 
-config TARGET_S32V234EVB
-       bool "Support s32v234evb"
-       select ARM64
-       select SYS_FSL_ERRATUM_ESDHC111
-
 config ARCH_SNAPDRAGON
        bool "Qualcomm Snapdragon SoCs"
        select ARM64
@@ -970,7 +942,7 @@ config ARCH_SOCFPGA
        bool "Altera SOCFPGA family"
        select ARCH_EARLY_INIT_R
        select ARCH_MISC_INIT if !TARGET_SOCFPGA_ARRIA10
-       select ARM64 if TARGET_SOCFPGA_STRATIX10 || TARGET_SOCFPGA_AGILEX
+       select ARM64 if TARGET_SOCFPGA_SOC64
        select CPU_V7A if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
        select DM
        select DM_SERIAL
@@ -982,7 +954,7 @@ config ARCH_SOCFPGA
        select SPL_LIBGENERIC_SUPPORT
        select SPL_NAND_SUPPORT if SPL_NAND_DENALI
        select SPL_OF_CONTROL
-       select SPL_SEPARATE_BSS if TARGET_SOCFPGA_STRATIX10 || TARGET_SOCFPGA_AGILEX
+       select SPL_SEPARATE_BSS if TARGET_SOCFPGA_SOC64
        select SPL_SERIAL_SUPPORT
        select SPL_SYSRESET
        select SPL_WATCHDOG_SUPPORT
@@ -991,7 +963,7 @@ config ARCH_SOCFPGA
        select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
        select SYSRESET
        select SYSRESET_SOCFPGA if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
-       select SYSRESET_SOCFPGA_S10 if TARGET_SOCFPGA_STRATIX10
+       select SYSRESET_SOCFPGA_SOC64 if TARGET_SOCFPGA_SOC64
        imply CMD_DM
        imply CMD_MTDPARTS
        imply CRC32_VERIFY
@@ -1041,6 +1013,7 @@ config ARCH_SUNXI
        select SPL_USE_TINY_PRINTF
        select USE_PREBOOT
        select SYS_RELOC_GD_ENV_ADDR
+       imply BOARD_LATE_INIT
        imply CMD_DM
        imply CMD_GPT
        imply CMD_UBI if MTD_RAW_NAND
@@ -1085,6 +1058,7 @@ config ARCH_VERSAL
        select DM_SERIAL
        select OF_CONTROL
        imply BOARD_LATE_INIT
+       imply ENV_VARS_UBOOT_RUNTIME_CONFIG
 
 config ARCH_VF610
        bool "Freescale Vybrid"
@@ -1120,6 +1094,7 @@ config ARCH_ZYNQ
        imply CMD_CLK
        imply CMD_DM
        imply CMD_SPL
+       imply ENV_VARS_UBOOT_RUNTIME_CONFIG
        imply FAT_WRITE
 
 config ARCH_ZYNQMP_R5
@@ -1150,7 +1125,8 @@ config ARCH_ZYNQMP
        select OF_CONTROL
        select SPL_BOARD_INIT if SPL
        select SPL_CLK if SPL
-       select SPL_DM_SPI if SPI
+       select SPL_DM if SPL
+       select SPL_DM_SPI if SPI && SPL_DM
        select SPL_DM_SPI_FLASH if SPL_DM_SPI
        select SPL_DM_MAILBOX if SPL
        select SPL_FIRMWARE if SPL
@@ -1159,6 +1135,7 @@ config ARCH_ZYNQMP
        select ZYNQMP_IPI
        imply BOARD_LATE_INIT
        imply CMD_DM
+       imply ENV_VARS_UBOOT_RUNTIME_CONFIG
        imply FAT_WRITE
        imply MP
        imply DM_USB_GADGET
@@ -1195,6 +1172,15 @@ config TARGET_VEXPRESS64_JUNO
        select USB
        select DM_USB
 
+config TARGET_TOTAL_COMPUTE
+       bool "Support Total Compute Platform"
+       select ARM64
+       select PL01X_SERIAL
+       select DM
+       select DM_SERIAL
+       select DM_MMC
+       select DM_GPIO
+
 config TARGET_LS2080A_EMU
        bool "Support ls2080a_emu"
        select ARCH_LS2080A
@@ -1207,18 +1193,6 @@ config TARGET_LS2080A_EMU
          development platform that supports the QorIQ LS2080A
          Layerscape Architecture processor.
 
-config TARGET_LS2080A_SIMU
-       bool "Support ls2080a_simu"
-       select ARCH_LS2080A
-       select ARM64
-       select ARMV8_MULTIENTRY
-       select BOARD_LATE_INIT
-       help
-         Support for Freescale LS2080A_SIMU platform.
-         The LS2080A Development System (QDS) is a pre silicon
-         development platform that supports the QorIQ LS2080A
-         Layerscape Architecture processor.
-
 config TARGET_LS1088AQDS
        bool "Support ls1088aqds"
        select ARCH_LS1088A
@@ -1309,6 +1283,18 @@ config TARGET_LX2160AQDS
          is a high-performance development platform that supports the
          QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
 
+config TARGET_LX2162AQDS
+       bool "Support lx2162aqds"
+       select ARCH_LX2162A
+       select ARCH_MISC_INIT
+       select ARM64
+       select ARMV8_MULTIENTRY
+       select ARCH_SUPPORT_TFABOOT
+       select BOARD_LATE_INIT
+       help
+         Support for NXP LX2162AQDS platform.
+         The lx2162aqds support is based on LX2160A Layerscape Architecture processor.
+
 config TARGET_HIKEY
        bool "Support HiKey 96boards Consumer Edition Platform"
        select ARM64
@@ -1486,6 +1472,24 @@ config TARGET_LS1021ATWR
        select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
        imply SCSI
 
+config TARGET_PG_WCOM_SELI8
+       bool "Support Hitachi-Powergrids SELI8 service unit card"
+       select ARCH_LS1021A
+       select ARCH_SUPPORT_PSCI
+       select BOARD_EARLY_INIT_F
+       select BOARD_LATE_INIT
+       select CPU_V7A
+       select CPU_V7_HAS_NONSEC
+       select CPU_V7_HAS_VIRT
+       select SYS_FSL_DDR
+       select FSL_DDR_INTERACTIVE
+       select VENDOR_KM
+       imply SCSI
+       help
+        Support for Hitachi-Powergrids SELI8 service unit card.
+        SELI8 is a QorIQ LS1021a based service unit card used
+        in XMC20 and FOX615 product families.
+
 config TARGET_LS1021ATSN
        bool "Support ls1021atsn"
        select ARCH_LS1021A
@@ -1603,6 +1607,36 @@ config TARGET_LS1046AFRWY
          development platform that supports the QorIQ LS1046A
          Layerscape Architecture processor.
 
+config TARGET_SL28
+       bool "Support sl28"
+       select ARCH_LS1028A
+       select ARM64
+       select ARMV8_MULTIENTRY
+       select SUPPORT_SPL
+       select BINMAN
+       select DM
+       select DM_GPIO
+       select DM_I2C
+       select DM_MMC
+       select DM_SPI_FLASH
+       select DM_ETH
+       select DM_MDIO
+       select DM_PCI
+       select DM_RNG
+       select DM_RTC
+       select DM_SCSI
+       select DM_SERIAL
+       select DM_SPI
+       select DM_USB
+       select SPL_DM if SPL
+       select SPL_DM_SPI if SPL
+       select SPL_DM_SPI_FLASH if SPL
+       select SPL_DM_I2C if SPL
+       select SPL_DM_MMC if SPL
+       select SPL_DM_SERIAL if SPL
+       help
+         Support for Kontron SMARC-sAL28 board.
+
 config TARGET_COLIBRI_PXA270
        bool "Support colibri_pxa270"
        select CPU_PXA
@@ -1694,7 +1728,7 @@ config ARCH_STM32MP
 config ARCH_ROCKCHIP
        bool "Support Rockchip SoCs"
        select BLK
-       select BINMAN if !ARM64
+       select BINMAN if SPL_OPTEE
        select DM
        select DM_GPIO
        select DM_I2C
@@ -1725,6 +1759,26 @@ config ARCH_ROCKCHIP
        imply TPL_SYSRESET
        imply USB_FUNCTION_FASTBOOT
 
+config ARCH_OCTEONTX
+       bool "Support OcteonTX SoCs"
+       select CLK
+       select DM
+       select ARM64
+       select OF_CONTROL
+       select OF_LIVE
+       select BOARD_LATE_INIT
+       select SYS_CACHE_SHIFT_7
+
+config ARCH_OCTEONTX2
+       bool "Support OcteonTX2 SoCs"
+       select CLK
+       select DM
+       select ARM64
+       select OF_CONTROL
+       select OF_LIVE
+       select BOARD_LATE_INIT
+       select SYS_CACHE_SHIFT_7
+
 config TARGET_THUNDERX_88XX
        bool "Support ThunderX 88xx"
        select ARM64
@@ -1767,8 +1821,13 @@ config TFABOOT
        depends on ARCH_SUPPORT_TFABOOT
        default n
        help
-         Enabling this will make a U-Boot binary that is capable of being
-         booted via TF-A (Trusted Firmware for Cortex-A).
+         Some platforms support the setup of secure registers (for instance
+         for CPU errata handling) or provide secure services like PSCI.
+         Those services could also be provided by other firmware parts
+         like TF-A (Trusted Firmware for Cortex-A), in which case U-Boot
+         does not need to (and cannot) execute this code.
+         Enabling this option will make a U-Boot binary that is relying
+         on other firmware layers to provide secure functionality.
 
 config TI_SECURE_DEVICE
        bool "HS Device Type Support"
@@ -1823,6 +1882,10 @@ source "arch/arm/mach-lpc32xx/Kconfig"
 
 source "arch/arm/mach-mvebu/Kconfig"
 
+source "arch/arm/mach-octeontx/Kconfig"
+
+source "arch/arm/mach-octeontx2/Kconfig"
+
 source "arch/arm/cpu/armv7/ls102xa/Kconfig"
 
 source "arch/arm/mach-imx/mx2/Kconfig"
@@ -1901,29 +1964,25 @@ source "arch/arm/mach-imx/Kconfig"
 
 source "arch/arm/mach-nexell/Kconfig"
 
+source "board/armltd/total_compute/Kconfig"
+
 source "board/bosch/shc/Kconfig"
 source "board/bosch/guardian/Kconfig"
 source "board/CarMediaLab/flea3/Kconfig"
 source "board/Marvell/aspenite/Kconfig"
 source "board/Marvell/gplugd/Kconfig"
-source "board/armadeus/apf27/Kconfig"
-source "board/armltd/vexpress/Kconfig"
+source "board/Marvell/octeontx/Kconfig"
+source "board/Marvell/octeontx2/Kconfig"
 source "board/armltd/vexpress64/Kconfig"
 source "board/cortina/presidio-asic/Kconfig"
-source "board/broadcom/bcm23550_w1d/Kconfig"
-source "board/broadcom/bcm28155_ap/Kconfig"
 source "board/broadcom/bcm963158/Kconfig"
 source "board/broadcom/bcm968360bg/Kconfig"
 source "board/broadcom/bcm968580xref/Kconfig"
-source "board/broadcom/bcmcygnus/Kconfig"
-source "board/broadcom/bcmnsp/Kconfig"
-source "board/broadcom/bcmns2/Kconfig"
 source "board/broadcom/bcmns3/Kconfig"
 source "board/cavium/thunderx/Kconfig"
 source "board/cirrus/edb93xx/Kconfig"
 source "board/eets/pdu001/Kconfig"
 source "board/emulation/qemu-arm/Kconfig"
-source "board/freescale/ls2080a/Kconfig"
 source "board/freescale/ls2080aqds/Kconfig"
 source "board/freescale/ls2080ardb/Kconfig"
 source "board/freescale/ls1088a/Kconfig"
@@ -1941,13 +2000,12 @@ source "board/freescale/ls1012aqds/Kconfig"
 source "board/freescale/ls1012ardb/Kconfig"
 source "board/freescale/ls1012afrdm/Kconfig"
 source "board/freescale/lx2160a/Kconfig"
-source "board/freescale/mx35pdk/Kconfig"
-source "board/freescale/s32v234evb/Kconfig"
 source "board/grinn/chiliboard/Kconfig"
 source "board/hisilicon/hikey/Kconfig"
 source "board/hisilicon/hikey960/Kconfig"
 source "board/hisilicon/poplar/Kconfig"
 source "board/isee/igep003x/Kconfig"
+source "board/kontron/sl28/Kconfig"
 source "board/myir/mys_6ulx/Kconfig"
 source "board/spear/spear300/Kconfig"
 source "board/spear/spear310/Kconfig"
@@ -1959,12 +2017,9 @@ source "board/tcl/sl50/Kconfig"
 source "board/toradex/colibri_pxa270/Kconfig"
 source "board/variscite/dart_6ul/Kconfig"
 source "board/vscom/baltos/Kconfig"
-source "board/xilinx/Kconfig"
-source "board/xilinx/zynq/Kconfig"
-source "board/xilinx/zynqmp/Kconfig"
-source "board/xilinx/versal/Kconfig"
 source "board/phytium/durian/Kconfig"
 source "board/xen/xenguest_arm64/Kconfig"
+source "board/keymile/Kconfig"
 
 source "arch/arm/Kconfig.debug"