summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/common/Kconfig4
-rw-r--r--src/soc/amd/common/Makefile.inc6
-rw-r--r--src/soc/amd/common/block/Kconfig11
-rw-r--r--src/soc/amd/common/block/Makefile.inc2
-rw-r--r--src/soc/amd/picasso/Kconfig1
-rw-r--r--src/soc/amd/stoneyridge/Kconfig1
6 files changed, 4 insertions, 21 deletions
diff --git a/src/soc/amd/common/Kconfig b/src/soc/amd/common/Kconfig
index debedac37d..a0836a3372 100644
--- a/src/soc/amd/common/Kconfig
+++ b/src/soc/amd/common/Kconfig
@@ -1,7 +1,7 @@
config SOC_AMD_COMMON
bool
help
- common code for AMD SOCs
+ common code blocks for AMD SOCs
if SOC_AMD_COMMON
@@ -9,6 +9,6 @@ config SOC_AMD_PI
bool
default n
-source "src/soc/amd/common/block/Kconfig"
+source "src/soc/amd/common/block/*/Kconfig"
endif # SOC_AMD_COMMON
diff --git a/src/soc/amd/common/Makefile.inc b/src/soc/amd/common/Makefile.inc
index 2a5b42a5ea..c0757c5968 100644
--- a/src/soc/amd/common/Makefile.inc
+++ b/src/soc/amd/common/Makefile.inc
@@ -1,5 +1 @@
-ifeq ($(CONFIG_SOC_AMD_COMMON),y)
-
-subdirs-$(CONFIG_SOC_AMD_COMMON_BLOCK) += block
-
-endif
+subdirs-$(CONFIG_SOC_AMD_COMMON) += block
diff --git a/src/soc/amd/common/block/Kconfig b/src/soc/amd/common/block/Kconfig
deleted file mode 100644
index 86150ed870..0000000000
--- a/src/soc/amd/common/block/Kconfig
+++ /dev/null
@@ -1,11 +0,0 @@
-config SOC_AMD_COMMON_BLOCK
- bool
- help
- SoC driver for AMD common IP code
-
-if SOC_AMD_COMMON_BLOCK
-
-comment "AMD SoC Common IP Code"
-source "src/soc/amd/common/block/*/Kconfig"
-
-endif
diff --git a/src/soc/amd/common/block/Makefile.inc b/src/soc/amd/common/block/Makefile.inc
index 33c8822fd6..ad75b92866 100644
--- a/src/soc/amd/common/block/Makefile.inc
+++ b/src/soc/amd/common/block/Makefile.inc
@@ -1,4 +1,4 @@
-ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK),y)
+ifeq ($(CONFIG_SOC_AMD_COMMON),y)
subdirs-y += ./*
diff --git a/src/soc/amd/picasso/Kconfig b/src/soc/amd/picasso/Kconfig
index 9ebc65168f..4d7d2a6c1a 100644
--- a/src/soc/amd/picasso/Kconfig
+++ b/src/soc/amd/picasso/Kconfig
@@ -29,7 +29,6 @@ config CPU_SPECIFIC_OPTIONS
select TSC_SYNC_LFENCE
select UDELAY_TSC
select SOC_AMD_COMMON
- select SOC_AMD_COMMON_BLOCK
select SOC_AMD_COMMON_BLOCK_HAS_ESPI
select SOC_AMD_COMMON_BLOCK_IOMMU
select SOC_AMD_COMMON_BLOCK_ACPIMMIO
diff --git a/src/soc/amd/stoneyridge/Kconfig b/src/soc/amd/stoneyridge/Kconfig
index 0e32005fb0..86df3610e8 100644
--- a/src/soc/amd/stoneyridge/Kconfig
+++ b/src/soc/amd/stoneyridge/Kconfig
@@ -23,7 +23,6 @@ config CPU_SPECIFIC_OPTIONS
select TSC_SYNC_LFENCE
select SOC_AMD_PI
select SOC_AMD_COMMON
- select SOC_AMD_COMMON_BLOCK
select SOC_AMD_COMMON_BLOCK_IOMMU
select SOC_AMD_COMMON_BLOCK_ACPIMMIO
select SOC_AMD_COMMON_BLOCK_BANKED_GPIOS