bcmcygnus: Convert CONFIG_IPROC to Kconfig
Select this symbol as needed.
Signed-off-by: Tom Rini <trini@konsulko.com>
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 6e191e4..bbf1d52 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -553,6 +553,9 @@
help
This ARM64 system supports AArch32 execution state.
+config IPROC
+ bool
+
config S5P
def_bool y if ARCH_EXYNOS || ARCH_S5PC1XX
@@ -658,6 +661,7 @@
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 c63c27d..ce831bc 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