mpc83xx: Migrate SPCR to Kconfig
[oweals/u-boot.git] / arch / Kconfig
index 35e2712fce927f3d8d8e04ab9ba20591dc006ea4..239289b88565ec3c59f1629042702df9a7e4f6ac 100644 (file)
@@ -61,6 +61,7 @@ config PPC
 
 config RISCV
        bool "RISC-V architecture"
+       select CREATE_ARCH_SYMLINK
        select SUPPORT_OF_CONTROL
        select OF_CONTROL
        select DM
@@ -117,6 +118,7 @@ config SANDBOX
        imply VIRTIO_BLK
        imply VIRTIO_NET
        imply DM_SOUND
+       imply PCH
 
 config SH
        bool "SuperH architecture"
@@ -124,6 +126,8 @@ config SH
 
 config X86
        bool "x86 architecture"
+       select SUPPORT_SPL
+       select SUPPORT_TPL
        select CREATE_ARCH_SYMLINK
        select DM
        select DM_PCI
@@ -156,10 +160,42 @@ config X86
        imply DM_USB
        imply DM_VIDEO
        imply SYSRESET
+       imply SPL_SYSRESET
        imply SYSRESET_X86
        imply USB_ETHER_ASIX
        imply USB_ETHER_SMSC95XX
        imply USB_HOST_ETHER
+       imply PCH
+       imply RTC_MC146818
+
+       # Thing to enable for when SPL/TPL are enabled: SPL
+       imply SPL_DM
+       imply SPL_OF_LIBFDT
+       imply SPL_DRIVERS_MISC_SUPPORT
+       imply SPL_GPIO_SUPPORT
+       imply SPL_LIBCOMMON_SUPPORT
+       imply SPL_LIBGENERIC_SUPPORT
+       imply SPL_SERIAL_SUPPORT
+       imply SPL_SPI_FLASH_SUPPORT
+       imply SPL_SPI_SUPPORT
+       imply SPL_OF_CONTROL
+       imply SPL_TIMER
+       imply SPL_REGMAP
+       imply SPL_SYSCON
+       # TPL
+       imply TPL_DM
+       imply TPL_OF_LIBFDT
+       imply TPL_DRIVERS_MISC_SUPPORT
+       imply TPL_GPIO_SUPPORT
+       imply TPL_LIBCOMMON_SUPPORT
+       imply TPL_LIBGENERIC_SUPPORT
+       imply TPL_SERIAL_SUPPORT
+       imply TPL_SPI_FLASH_SUPPORT
+       imply TPL_SPI_SUPPORT
+       imply TPL_OF_CONTROL
+       imply TPL_TIMER
+       imply TPL_REGMAP
+       imply TPL_SYSCON
 
 config XTENSA
        bool "Xtensa architecture"
@@ -224,6 +260,15 @@ config SYS_CONFIG_NAME
          The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
          should be included from include/config.h.
 
+config SYS_DISABLE_DCACHE_OPS
+       bool
+       help
+        This option disables dcache flush and dcache invalidation
+        operations. For example, on coherent systems where cache
+        operatios are not required, enable this option to avoid them.
+        Note that, its up to the individual architectures to implement
+        this functionality.
+
 source "arch/arc/Kconfig"
 source "arch/arm/Kconfig"
 source "arch/m68k/Kconfig"