summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-04-27 15:26:29 -0700
committerFurquan Shaikh <furquan@google.com>2020-04-28 22:56:18 +0000
commit80b464af1830711cf97f16c504517518d0dcbdde (patch)
tree60afb2fe7726864bf29f5346fa89c6afddc76fef /src/soc/amd
parent8df012775dba24cd8a443bfc422aeddff8387860 (diff)
downloadcoreboot-80b464af1830711cf97f16c504517518d0dcbdde.tar.xz
soc/amd/common/block/sata: Fix the condition to include sata.c
sata.c was being added to ramstage based on the selection of CONFIG_SOC_AMD_COMMON_BLOCK_HDA which is not correct. This change fixes the error by including sata.c based on selection of CONFIG_SOC_AMD_COMMON_BLOCK_SATA. BUG=b:153858769 Change-Id: I5d23e5817872ddbb3d8d4f7dcabbaafcee4d51f4 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40766 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/common/block/sata/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/sata/Makefile.inc b/src/soc/amd/common/block/sata/Makefile.inc
index 59b99eb9b4..3ca2a890e2 100644
--- a/src/soc/amd/common/block/sata/Makefile.inc
+++ b/src/soc/amd/common/block/sata/Makefile.inc
@@ -1 +1 @@
-ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_HDA) += sata.c
+ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_SATA) += sata.c