Convert CONFIG_CPU_PXA27X to Kconfig
authorTom Rini <trini@konsulko.com>
Fri, 17 Dec 2021 23:08:40 +0000 (18:08 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 27 Dec 2021 21:20:19 +0000 (16:20 -0500)
This converts the following to Kconfig:
   CONFIG_CPU_PXA27X

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/Kconfig
include/configs/colibri_pxa270.h
scripts/config_whitelist.txt

index 26c96ed..b828b8d 100644 (file)
@@ -311,6 +311,10 @@ config CPU_PXA
        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
@@ -1767,7 +1771,7 @@ config TARGET_SL28
 
 config TARGET_COLIBRI_PXA270
        bool "Support colibri_pxa270"
-       select CPU_PXA
+       select CPU_PXA27X
        select GPIO_EXTRA_HEADER
 
 config ARCH_UNIPHIER
index 22eab77..0be7f5a 100644 (file)
@@ -12,7 +12,6 @@
 /*
  * High Level Board Configuration Options
  */
-#define        CONFIG_CPU_PXA27X               1       /* Marvell PXA270 CPU */
 /* Avoid overwriting factory configuration block */
 #define CONFIG_BOARD_SIZE_LIMIT                0x40000
 
index 5353e84..0587bf3 100644 (file)
@@ -162,7 +162,6 @@ CONFIG_CPU_MIPSR2
 CONFIG_CPU_MONAHANS
 CONFIG_CPU_PXA25X
 CONFIG_CPU_PXA26X
-CONFIG_CPU_PXA27X
 CONFIG_CPU_PXA300
 CONFIG_CPU_SH7751
 CONFIG_CPU_TYPE_R