From bb6c2162d17bf6acf0ba874c12f5dc7cf3cdde05 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Tue, 29 Apr 2014 07:15:26 +0300 Subject: AGESA SPI: Fix Kconfig options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Option AMD_SB_SPI_LEN leaked to non-AMD configs. Option SPI_FLASH is compulsory with HAVE_ACPI_RESUME. Change-Id: Ib84c4d9e4fdf670b32b0cae7280fcbb6d3aecaf5 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/5606 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Edward O'Callaghan Reviewed-by: Idwer Vollering --- src/southbridge/amd/Kconfig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/southbridge/amd/Kconfig') 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 -- cgit v1.2.3