summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-03-16 15:15:20 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2012-03-16 22:39:09 +0100
commitf5bb4771dee06c132aa7d15917c69cd34b2a7ec9 (patch)
tree600e4747bb2fd534406b90e16730d22832f1caa4 /src/cpu
parent1c93d90fd2c87e778e4d9a57ccfa341fd00d3d80 (diff)
Fix AMD Agesa leaking Kconfig
Kconfig leaked XIP_ROM_SIZE to other platforms and also defined obsolete option XIP_ROM_BASE. Alias AMD_AGESA as NORTHBRIDGE_AMD_AGESA. Break the circular dependency with family15 Kconfig. Change-Id: Ic7891012220e1bef758a5a39002b66971d5206e3 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/773 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/amd/agesa/Kconfig8
-rw-r--r--src/cpu/amd/agesa/family15/Kconfig5
2 files changed, 5 insertions, 8 deletions
diff --git a/src/cpu/amd/agesa/Kconfig b/src/cpu/amd/agesa/Kconfig
index 631724b04a..f8a8c3fca6 100644
--- a/src/cpu/amd/agesa/Kconfig
+++ b/src/cpu/amd/agesa/Kconfig
@@ -19,11 +19,10 @@
config AMD_AGESA
bool
+ default y if CPU_AMD_AGESA_FAMILY15
default n
-config XIP_ROM_BASE
- hex
- default 0xfff00000
+if AMD_AGESA
config XIP_ROM_SIZE
hex
@@ -40,3 +39,6 @@ source src/cpu/amd/agesa/family10/Kconfig
source src/cpu/amd/agesa/family12/Kconfig
source src/cpu/amd/agesa/family14/Kconfig
source src/cpu/amd/agesa/family15/Kconfig
+
+endif # AMD_AGESA
+
diff --git a/src/cpu/amd/agesa/family15/Kconfig b/src/cpu/amd/agesa/family15/Kconfig
index 0f2f920256..c1528f63a0 100644
--- a/src/cpu/amd/agesa/family15/Kconfig
+++ b/src/cpu/amd/agesa/family15/Kconfig
@@ -20,7 +20,6 @@
config CPU_AMD_AGESA_FAMILY15
bool
select PCI_IO_CFG_EXT
- select AMD_AGESA
if CPU_AMD_AGESA_FAMILY15
@@ -58,10 +57,6 @@ config CDB
hex
default 0x18
-config XIP_ROM_BASE
- hex
- default 0xfff80000
-
config XIP_ROM_SIZE
hex
default 0x80000