siemens: Move CONFIG_FACTORYSET to Kconfig
Introduce board/siemens/common/Kconfig and have it hold FACTORYSET to
start with. Use select for this on the boards that need it.
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Samuel Egli <samuel.egli@siemens.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index ddef3d0..ef79fc3 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -2352,6 +2352,7 @@
source "board/isee/igep003x/Kconfig"
source "board/kontron/sl28/Kconfig"
source "board/myir/mys_6ulx/Kconfig"
+source "board/siemens/common/Kconfig"
source "board/seeed/npi_imx6ull/Kconfig"
source "board/socionext/developerbox/Kconfig"
source "board/st/stv0991/Kconfig"
diff --git a/arch/arm/mach-imx/imx8/Kconfig b/arch/arm/mach-imx/imx8/Kconfig
index 5e1b20a..8f185c1 100644
--- a/arch/arm/mach-imx/imx8/Kconfig
+++ b/arch/arm/mach-imx/imx8/Kconfig
@@ -57,11 +57,13 @@
config TARGET_DENEB
bool "Support i.MX8QXP Capricorn Deneb board"
select BOARD_LATE_INIT
+ select FACTORYSET
select IMX8QXP
config TARGET_GIEDI
bool "Support i.MX8QXP Capricorn Giedi board"
select BOARD_LATE_INIT
+ select FACTORYSET
select IMX8QXP
config TARGET_IMX8QM_MEK
diff --git a/arch/arm/mach-omap2/am33xx/Kconfig b/arch/arm/mach-omap2/am33xx/Kconfig
index 23865d4..bd6b086 100644
--- a/arch/arm/mach-omap2/am33xx/Kconfig
+++ b/arch/arm/mach-omap2/am33xx/Kconfig
@@ -138,6 +138,7 @@
select DM
select DM_GPIO
select DM_SERIAL
+ select FACTORYSET
imply CMD_DM
config TARGET_ETAMIN
@@ -146,6 +147,7 @@
select DM
select DM_GPIO
select DM_SERIAL
+ select FACTORYSET
imply CMD_DM
config TARGET_PCM051
@@ -168,6 +170,7 @@
select DM
select DM_GPIO
select DM_SERIAL
+ select FACTORYSET
imply CMD_DM
config TARGET_RASTABAN
@@ -176,6 +179,7 @@
select DM
select DM_GPIO
select DM_SERIAL
+ select FACTORYSET
imply CMD_DM
config TARGET_RUT
@@ -184,6 +188,7 @@
select DM
select DM_GPIO
select DM_SERIAL
+ select FACTORYSET
imply CMD_DM
config TARGET_THUBAN
@@ -192,6 +197,7 @@
select DM
select DM_GPIO
select DM_SERIAL
+ select FACTORYSET
imply CMD_DM
config TARGET_PDU001