From af32770755211aadcc4e9f578bae38592b61f1cd Mon Sep 17 00:00:00 2001 From: "John E. Kabat Jr" Date: Wed, 29 Nov 2017 18:49:37 -0700 Subject: [PATCH] soc/amd/stoneyridge: Enable SPI writes - Change soc/amd/stoneyridge/Kconfig to set BOOT_DEVICE_SUPPORTS_WRITES BUG=b:65485690 TEST=Build & boot kahlee. Change-Id: I595a27ac27daa42c2499de1a343bc30be9a89fa6 Signed-off-by: John E. Kabat Jr Signed-off-by: Marc Jones Reviewed-on: https://review.coreboot.org/22636 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Reviewed-by: Aaron Durbin --- src/soc/amd/common/Makefile.inc | 1 - src/soc/amd/stoneyridge/Kconfig | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/amd/common/Makefile.inc b/src/soc/amd/common/Makefile.inc index aa27512a05..22eb0d6f74 100644 --- a/src/soc/amd/common/Makefile.inc +++ b/src/soc/amd/common/Makefile.inc @@ -16,7 +16,6 @@ ramstage-y += amd_pci_util.c ramstage-y += def_callouts.c ramstage-y += heapmanager.c ramstage-$(CONFIG_SPI_FLASH) += spi.c - subdirs-$(CONFIG_SOC_AMD_COMMON_BLOCK) += block endif diff --git a/src/soc/amd/stoneyridge/Kconfig b/src/soc/amd/stoneyridge/Kconfig index fce3857a95..dd95b85677 100644 --- a/src/soc/amd/stoneyridge/Kconfig +++ b/src/soc/amd/stoneyridge/Kconfig @@ -50,6 +50,7 @@ config CPU_SPECIFIC_OPTIONS select SOC_AMD_COMMON_BLOCK_CAR select C_ENVIRONMENT_BOOTBLOCK select BOOTBLOCK_CONSOLE + select BOOT_DEVICE_SUPPORTS_WRITES if BOOT_DEVICE_SPI_FLASH select RELOCATABLE_MODULES select PARALLEL_MP select PARALLEL_MP_AP_WORK