soc: Add Kconfig for each soc vendor

Allows explicit ordering for vendors that share a common configuration
that must be sourced last.

The issue is that chips in soc/{amd,intel}/[ab].* will be able to
override defaults set in this file, but Kconfig files that get sourced
later (soc/amd/[d-z].*) will NOT be able to override these defaults.

Note: intel and amd soc chips now need to be added manually to the new
Kconfig file

BUG=b:62235314
TEST=make lint-stable

Change-Id: Ida82ef184712e092aec1381a47aa1b54b74ed6b6
Signed-off-by: Chris Ching <chingcodes@google.com>
Reviewed-on: https://review.coreboot.org/22123
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Chris Ching 2017-10-20 10:43:39 -06:00 committed by Chris Ching
parent 5da1e3156c
commit aa8e5d36b1
14 changed files with 43 additions and 1 deletions

View File

@ -333,7 +333,7 @@ config CBFS_AUTOGEN_ATTRIBUTES
menu "Chipset"
comment "SoC"
source "src/soc/*/*/Kconfig"
source "src/soc/*/Kconfig"
comment "CPU"
source "src/cpu/Kconfig"
comment "Northbridge"

5
src/soc/amd/Kconfig Normal file
View File

@ -0,0 +1,5 @@
# Load all chipsets before common
source "src/soc/amd/stoneyridge/Kconfig"
# Load common defaults last
source "src/soc/amd/common/Kconfig"

2
src/soc/broadcom/Kconfig Normal file
View File

@ -0,0 +1,2 @@
# Load all chipsets
source "src/soc/broadcom/*/Kconfig"

2
src/soc/dmp/Kconfig Normal file
View File

@ -0,0 +1,2 @@
# Load all chipsets
source "src/soc/dmp/*/Kconfig"

2
src/soc/imgtec/Kconfig Normal file
View File

@ -0,0 +1,2 @@
# Load all chipsets
source "src/soc/imgtec/*/Kconfig"

15
src/soc/intel/Kconfig Normal file
View File

@ -0,0 +1,15 @@
# Load all chipsets
source "src/soc/intel/apollolake/Kconfig"
source "src/soc/intel/baytrail/Kconfig"
source "src/soc/intel/braswell/Kconfig"
source "src/soc/intel/broadwell/Kconfig"
source "src/soc/intel/cannonlake/Kconfig"
source "src/soc/intel/denverton_ns/Kconfig"
source "src/soc/intel/fsp_baytrail/Kconfig"
source "src/soc/intel/fsp_broadwell_de/Kconfig"
source "src/soc/intel/quark/Kconfig"
source "src/soc/intel/sch/Kconfig"
source "src/soc/intel/skylake/Kconfig"
# Load common config
source "src/soc/intel/common/Kconfig"

2
src/soc/lowrisc/Kconfig Normal file
View File

@ -0,0 +1,2 @@
# Load all chipsets
source "src/soc/lowrisc/*/Kconfig"

2
src/soc/marvell/Kconfig Normal file
View File

@ -0,0 +1,2 @@
# Load all chipsets
source "src/soc/marvell/*/Kconfig"

2
src/soc/mediatek/Kconfig Normal file
View File

@ -0,0 +1,2 @@
# Load all chipsets
source "src/soc/mediatek/*/Kconfig"

2
src/soc/nvidia/Kconfig Normal file
View File

@ -0,0 +1,2 @@
# Load all chipsets
source "src/soc/nvidia/*/Kconfig"

2
src/soc/qualcomm/Kconfig Normal file
View File

@ -0,0 +1,2 @@
# Load all chipsets
source "src/soc/qualcomm/*/Kconfig"

2
src/soc/rockchip/Kconfig Normal file
View File

@ -0,0 +1,2 @@
# Load all chipsets
source "src/soc/rockchip/*/Kconfig"

2
src/soc/samsung/Kconfig Normal file
View File

@ -0,0 +1,2 @@
# Load all chipsets
source "src/soc/samsung/*/Kconfig"

2
src/soc/ucb/Kconfig Normal file
View File

@ -0,0 +1,2 @@
# Load all chipsets
source "src/soc/ucb/*/Kconfig"