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>
This commit is contained in:
Furquan Shaikh 2020-04-27 15:26:29 -07:00
parent 8df012775d
commit 80b464af18
1 changed files with 1 additions and 1 deletions

View File

@ -1 +1 @@
ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_HDA) += sata.c
ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_SATA) += sata.c