km: modify Kconfig file organization for KM boards
As preparation for the upcoming transferring of configurations from header files to Kconfig, a common Kconfig file for all KM boards was created. For the moment, it only sources the other three, more specific, Kconfig files. Therefore, the architecture Kconfig files now include the common Kconfig file. Also, the configuration selection for KM boards was moved from the architecture Kconfig files to the board specific Kconfig files. Signed-off-by: Pascal Linder <pascal.linder@edu.hefr.ch> Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> Cc: Mario Six <mario.six@gdsys.cc> Cc: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
54b8c51ebe
commit
c0fed3ac25
@ -32,11 +32,8 @@ config TARGET_ICONNECT
|
|||||||
bool "iconnect Board"
|
bool "iconnect Board"
|
||||||
|
|
||||||
config TARGET_KM_KIRKWOOD
|
config TARGET_KM_KIRKWOOD
|
||||||
bool "KM_KIRKWOOD Board"
|
bool "KM Kirkwood Board"
|
||||||
select BOARD_LATE_INIT
|
select VENDOR_KM
|
||||||
imply CMD_CRAMFS
|
|
||||||
imply CMD_DIAG
|
|
||||||
imply FS_CRAMFS
|
|
||||||
|
|
||||||
config TARGET_NET2BIG_V2
|
config TARGET_NET2BIG_V2
|
||||||
bool "LaCie 2Big Network v2 NAS Board"
|
bool "LaCie 2Big Network v2 NAS Board"
|
||||||
@ -82,7 +79,7 @@ source "board/buffalo/lsxl/Kconfig"
|
|||||||
source "board/cloudengines/pogo_e02/Kconfig"
|
source "board/cloudengines/pogo_e02/Kconfig"
|
||||||
source "board/d-link/dns325/Kconfig"
|
source "board/d-link/dns325/Kconfig"
|
||||||
source "board/iomega/iconnect/Kconfig"
|
source "board/iomega/iconnect/Kconfig"
|
||||||
source "board/keymile/km_arm/Kconfig"
|
source "board/keymile/Kconfig"
|
||||||
source "board/LaCie/net2big_v2/Kconfig"
|
source "board/LaCie/net2big_v2/Kconfig"
|
||||||
source "board/LaCie/netspace_v2/Kconfig"
|
source "board/LaCie/netspace_v2/Kconfig"
|
||||||
source "board/raidsonic/ib62x0/Kconfig"
|
source "board/raidsonic/ib62x0/Kconfig"
|
||||||
|
@ -100,65 +100,43 @@ config TARGET_IDS8313
|
|||||||
|
|
||||||
config TARGET_KMETER1
|
config TARGET_KMETER1
|
||||||
bool "Support kmeter1"
|
bool "Support kmeter1"
|
||||||
select ARCH_MPC8360
|
select VENDOR_KM
|
||||||
imply CMD_CRAMFS
|
|
||||||
imply CMD_DIAG
|
|
||||||
imply FS_CRAMFS
|
|
||||||
|
|
||||||
config TARGET_KMCOGE5NE
|
config TARGET_KMCOGE5NE
|
||||||
bool "Support kmcoge5ne"
|
bool "Support kmcoge5ne"
|
||||||
select ARCH_MPC8360
|
select VENDOR_KM
|
||||||
imply CMD_CRAMFS
|
|
||||||
imply CMD_DIAG
|
|
||||||
imply FS_CRAMFS
|
|
||||||
|
|
||||||
config TARGET_SUVD3
|
config TARGET_SUVD3
|
||||||
bool "Support suvd3"
|
bool "Support suvd3"
|
||||||
select ARCH_MPC832X
|
select VENDOR_KM
|
||||||
imply CMD_CRAMFS
|
|
||||||
imply FS_CRAMFS
|
|
||||||
|
|
||||||
config TARGET_KMVECT1
|
config TARGET_KMVECT1
|
||||||
bool "Support kmvect1"
|
bool "Support kmvect1"
|
||||||
select ARCH_MPC8309
|
select VENDOR_KM
|
||||||
imply CMD_CRAMFS
|
|
||||||
imply FS_CRAMFS
|
|
||||||
|
|
||||||
config TARGET_KMTEGR1
|
config TARGET_KMTEGR1
|
||||||
bool "Support kmtegr1"
|
bool "Support kmtegr1"
|
||||||
select ARCH_MPC8309
|
select VENDOR_KM
|
||||||
imply CMD_CRAMFS
|
|
||||||
imply FS_CRAMFS
|
|
||||||
|
|
||||||
config TARGET_TUXX1
|
config TARGET_TUXX1
|
||||||
bool "Support tuxx1"
|
bool "Support tuxx1"
|
||||||
select ARCH_MPC832X
|
select VENDOR_KM
|
||||||
imply CMD_CRAMFS
|
|
||||||
imply FS_CRAMFS
|
|
||||||
|
|
||||||
config TARGET_KMSUPX5
|
config TARGET_KMSUPX5
|
||||||
bool "Support kmsupx5"
|
bool "Support kmsupx5"
|
||||||
select ARCH_MPC832X
|
select VENDOR_KM
|
||||||
imply CMD_CRAMFS
|
|
||||||
imply FS_CRAMFS
|
|
||||||
|
|
||||||
config TARGET_TUGE1
|
config TARGET_TUGE1
|
||||||
bool "Support tuge1"
|
bool "Support tuge1"
|
||||||
select ARCH_MPC832X
|
select VENDOR_KM
|
||||||
imply CMD_CRAMFS
|
|
||||||
imply FS_CRAMFS
|
|
||||||
|
|
||||||
config TARGET_KMOPTI2
|
config TARGET_KMOPTI2
|
||||||
bool "Support kmopti2"
|
bool "Support kmopti2"
|
||||||
select ARCH_MPC832X
|
select VENDOR_KM
|
||||||
imply CMD_CRAMFS
|
|
||||||
imply FS_CRAMFS
|
|
||||||
|
|
||||||
config TARGET_KMTEPR2
|
config TARGET_KMTEPR2
|
||||||
bool "Support kmtepr2"
|
bool "Support kmtepr2"
|
||||||
select ARCH_MPC832X
|
select VENDOR_KM
|
||||||
imply CMD_CRAMFS
|
|
||||||
imply FS_CRAMFS
|
|
||||||
|
|
||||||
config TARGET_TQM834X
|
config TARGET_TQM834X
|
||||||
bool "Support TQM834x"
|
bool "Support TQM834x"
|
||||||
@ -354,7 +332,7 @@ source "board/freescale/mpc8349itx/Kconfig"
|
|||||||
source "board/freescale/mpc837xemds/Kconfig"
|
source "board/freescale/mpc837xemds/Kconfig"
|
||||||
source "board/freescale/mpc837xerdb/Kconfig"
|
source "board/freescale/mpc837xerdb/Kconfig"
|
||||||
source "board/ids/ids8313/Kconfig"
|
source "board/ids/ids8313/Kconfig"
|
||||||
source "board/keymile/km83xx/Kconfig"
|
source "board/keymile/Kconfig"
|
||||||
source "board/mpc8308_p1m/Kconfig"
|
source "board/mpc8308_p1m/Kconfig"
|
||||||
source "board/sbc8349/Kconfig"
|
source "board/sbc8349/Kconfig"
|
||||||
source "board/tqc/tqm834x/Kconfig"
|
source "board/tqc/tqm834x/Kconfig"
|
||||||
|
@ -412,11 +412,7 @@ config TARGET_CONTROLCENTERD
|
|||||||
|
|
||||||
config TARGET_KMP204X
|
config TARGET_KMP204X
|
||||||
bool "Support kmp204x"
|
bool "Support kmp204x"
|
||||||
select ARCH_P2041
|
select VENDOR_KM
|
||||||
select PHYS_64BIT
|
|
||||||
select FSL_DDR_INTERACTIVE
|
|
||||||
imply CMD_CRAMFS
|
|
||||||
imply FS_CRAMFS
|
|
||||||
|
|
||||||
config TARGET_XPEDITE520X
|
config TARGET_XPEDITE520X
|
||||||
bool "Support xpedite520x"
|
bool "Support xpedite520x"
|
||||||
@ -1620,7 +1616,7 @@ source "board/freescale/t208xrdb/Kconfig"
|
|||||||
source "board/freescale/t4qds/Kconfig"
|
source "board/freescale/t4qds/Kconfig"
|
||||||
source "board/freescale/t4rdb/Kconfig"
|
source "board/freescale/t4rdb/Kconfig"
|
||||||
source "board/gdsys/p1022/Kconfig"
|
source "board/gdsys/p1022/Kconfig"
|
||||||
source "board/keymile/kmp204x/Kconfig"
|
source "board/keymile/Kconfig"
|
||||||
source "board/sbc8548/Kconfig"
|
source "board/sbc8548/Kconfig"
|
||||||
source "board/socrates/Kconfig"
|
source "board/socrates/Kconfig"
|
||||||
source "board/varisys/cyrus/Kconfig"
|
source "board/varisys/cyrus/Kconfig"
|
||||||
|
16
board/keymile/Kconfig
Normal file
16
board/keymile/Kconfig
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# SPDX-License-Identifier: GPL-2.0+
|
||||||
|
#
|
||||||
|
# Copyright (C) 2019, Pascal Linder <pascal.linder@edu.hefr.ch>
|
||||||
|
|
||||||
|
config VENDOR_KM
|
||||||
|
bool
|
||||||
|
help
|
||||||
|
Selected by any KM board to have additional configurations.
|
||||||
|
|
||||||
|
if VENDOR_KM
|
||||||
|
|
||||||
|
source "board/keymile/km83xx/Kconfig"
|
||||||
|
source "board/keymile/kmp204x/Kconfig"
|
||||||
|
source "board/keymile/km_arm/Kconfig"
|
||||||
|
|
||||||
|
endif
|
@ -9,6 +9,13 @@ config SYS_VENDOR
|
|||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "kmeter1"
|
default "kmeter1"
|
||||||
|
|
||||||
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
|
def_bool y
|
||||||
|
select ARCH_MPC8360
|
||||||
|
imply CMD_CRAMFS
|
||||||
|
imply CMD_DIAG
|
||||||
|
imply FS_CRAMFS
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if TARGET_KMCOGE5NE
|
if TARGET_KMCOGE5NE
|
||||||
@ -22,6 +29,13 @@ config SYS_VENDOR
|
|||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "kmcoge5ne"
|
default "kmcoge5ne"
|
||||||
|
|
||||||
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
|
def_bool y
|
||||||
|
select ARCH_MPC8360
|
||||||
|
imply CMD_CRAMFS
|
||||||
|
imply CMD_DIAG
|
||||||
|
imply FS_CRAMFS
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if TARGET_KMVECT1
|
if TARGET_KMVECT1
|
||||||
@ -35,6 +49,12 @@ config SYS_VENDOR
|
|||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "kmvect1"
|
default "kmvect1"
|
||||||
|
|
||||||
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
|
def_bool y
|
||||||
|
select ARCH_MPC8309
|
||||||
|
imply CMD_CRAMFS
|
||||||
|
imply FS_CRAMFS
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if TARGET_KMTEGR1
|
if TARGET_KMTEGR1
|
||||||
@ -48,6 +68,12 @@ config SYS_VENDOR
|
|||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "kmtegr1"
|
default "kmtegr1"
|
||||||
|
|
||||||
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
|
def_bool y
|
||||||
|
select ARCH_MPC8309
|
||||||
|
imply CMD_CRAMFS
|
||||||
|
imply FS_CRAMFS
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if TARGET_SUVD3
|
if TARGET_SUVD3
|
||||||
@ -61,6 +87,12 @@ config SYS_VENDOR
|
|||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "suvd3"
|
default "suvd3"
|
||||||
|
|
||||||
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
|
def_bool y
|
||||||
|
select ARCH_MPC832X
|
||||||
|
imply CMD_CRAMFS
|
||||||
|
imply FS_CRAMFS
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if TARGET_TUXX1
|
if TARGET_TUXX1
|
||||||
@ -74,6 +106,12 @@ config SYS_VENDOR
|
|||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "tuxx1"
|
default "tuxx1"
|
||||||
|
|
||||||
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
|
def_bool y
|
||||||
|
select ARCH_MPC832X
|
||||||
|
imply CMD_CRAMFS
|
||||||
|
imply FS_CRAMFS
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if TARGET_KMSUPX5
|
if TARGET_KMSUPX5
|
||||||
@ -87,6 +125,12 @@ config SYS_VENDOR
|
|||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "kmsupx5"
|
default "kmsupx5"
|
||||||
|
|
||||||
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
|
def_bool y
|
||||||
|
select ARCH_MPC832X
|
||||||
|
imply CMD_CRAMFS
|
||||||
|
imply FS_CRAMFS
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if TARGET_TUGE1
|
if TARGET_TUGE1
|
||||||
@ -100,6 +144,12 @@ config SYS_VENDOR
|
|||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "tuge1"
|
default "tuge1"
|
||||||
|
|
||||||
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
|
def_bool y
|
||||||
|
select ARCH_MPC832X
|
||||||
|
imply CMD_CRAMFS
|
||||||
|
imply FS_CRAMFS
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if TARGET_KMOPTI2
|
if TARGET_KMOPTI2
|
||||||
@ -113,6 +163,12 @@ config SYS_VENDOR
|
|||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "kmopti2"
|
default "kmopti2"
|
||||||
|
|
||||||
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
|
def_bool y
|
||||||
|
select ARCH_MPC832X
|
||||||
|
imply CMD_CRAMFS
|
||||||
|
imply FS_CRAMFS
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if TARGET_KMTEPR2
|
if TARGET_KMTEPR2
|
||||||
@ -126,4 +182,10 @@ config SYS_VENDOR
|
|||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "kmtepr2"
|
default "kmtepr2"
|
||||||
|
|
||||||
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
|
def_bool y
|
||||||
|
select ARCH_MPC832X
|
||||||
|
imply CMD_CRAMFS
|
||||||
|
imply FS_CRAMFS
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -9,4 +9,11 @@ config SYS_VENDOR
|
|||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "km_kirkwood"
|
default "km_kirkwood"
|
||||||
|
|
||||||
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
|
def_bool y
|
||||||
|
select BOARD_LATE_INIT
|
||||||
|
imply CMD_CRAMFS
|
||||||
|
imply CMD_DIAG
|
||||||
|
imply FS_CRAMFS
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -9,4 +9,12 @@ config SYS_VENDOR
|
|||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "kmp204x"
|
default "kmp204x"
|
||||||
|
|
||||||
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
|
def_bool y
|
||||||
|
select ARCH_P2041
|
||||||
|
select FSL_DDR_INTERACTIVE
|
||||||
|
select PHYS_64BIT
|
||||||
|
imply CMD_CRAMFS
|
||||||
|
imply FS_CRAMFS
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user