summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/amd/Kconfig8
-rw-r--r--src/southbridge/amd/agesa/hudson/Kconfig1
2 files changed, 6 insertions, 3 deletions
diff --git a/src/southbridge/amd/Kconfig b/src/southbridge/amd/Kconfig
index 42209ce7b2..39aeb09455 100644
--- a/src/southbridge/amd/Kconfig
+++ b/src/southbridge/amd/Kconfig
@@ -15,9 +15,11 @@ source src/southbridge/amd/cimx/Kconfig
source src/southbridge/amd/agesa/Kconfig
source src/southbridge/amd/sr5650/Kconfig
-config SPI_FLASH
- bool
- default y if HAVE_ACPI_RESUME && CPU_AMD_AGESA
+if CPU_AMD_AGESA
+
config AMD_SB_SPI_TX_LEN
int
default 4
+ depends on SPI_FLASH
+
+endif
diff --git a/src/southbridge/amd/agesa/hudson/Kconfig b/src/southbridge/amd/agesa/hudson/Kconfig
index dd5120dbf7..9e21b849fe 100644
--- a/src/southbridge/amd/agesa/hudson/Kconfig
+++ b/src/southbridge/amd/agesa/hudson/Kconfig
@@ -243,6 +243,7 @@ if SOUTHBRIDGE_AMD_AGESA_YANGTZE
config AMD_SB_SPI_TX_LEN
int
default 64
+ depends on SPI_FLASH
config AZ_PIN
hex