[PATCH 141/149] bcmcygnus: Convert CONFIG_IPROC to Kconfig

Tom Rini
2022-12-04T15:33:13Z

Select this symbol as needed.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
arch/arm/Kconfig | 4 ++++
arch/arm/include/asm/iproc-common/configs.h | 3 ---
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 42576e503a4a..d7318cad8f63 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -599,6 +599,9 @@ config ARM64_SUPPORT_AARCH32
help
This ARM64 system supports AArch32 execution state.

+config IPROC
+ bool
+
config S5P
def_bool y if ARCH_EXYNOS || ARCH_S5PC1XX

@@ -704,6 +707,7 @@ config TARGET_BCMCYGNUS
bool "Support bcmcygnus"
select CPU_V7A
select GPIO_EXTRA_HEADER
+ select IPROC
imply BCM_SF2_ETH
imply BCM_SF2_ETH_GMAC
imply CMD_HASH
diff --git a/arch/arm/include/asm/iproc-common/configs.h b/arch/arm/include/asm/iproc-common/configs.h
index c63c27dac7e1..ce831bc13a7e 100644
--- a/arch/arm/include/asm/iproc-common/configs.h
+++ b/arch/arm/include/asm/iproc-common/configs.h
@@ -8,9 +8,6 @@

#include <linux/stringify.h>

-/* Architecture, CPU, chip, etc */
-#define CONFIG_IPROC
-
/* Memory Info */
#define CFG_SYS_SDRAM_BASE 0x61000000

--
2.25.1