src/mainboard: Use smm-$(CONFIG_HAVE_SMI_HANDLER)

Use smm-$(CONFIG_HAVE_SMI_HANDLER) instead of smm-y

Change-Id: I0f91bc3e6c8ab31d837ab89af62d700b35c1e01b
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/30485
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Elyes HAOUAS 2018-12-28 18:53:14 +01:00 committed by Patrick Georgi
parent 029f8eae7e
commit 4f73d930fe
7 changed files with 8 additions and 8 deletions

View File

@ -20,6 +20,6 @@ romstage-y += memory.c
ramstage-y += gpio.c
ramstage-y += nhlt.c
ramstage-y += mainboard.c
smm-y += ec.c
ramstage-y += ec.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += ec.c

View File

@ -22,4 +22,4 @@ ramstage-y += BiosCallOuts.c
ramstage-y += OemCustomize.c
ramstage-y += ec.c
smm-y += mainboard_smi.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += mainboard_smi.c

View File

@ -1,4 +1,4 @@
romstage-y += early_southbridge.c
romstage-y += gpio.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
smm-y += smihandler.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c

View File

@ -22,4 +22,4 @@ ramstage-y += BiosCallOuts.c
ramstage-y += OemCustomize.c
ramstage-y += ec.c
smm-y += mainboard_smi.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += mainboard_smi.c

View File

@ -15,4 +15,4 @@
romstage-y += romstage.c
romstage-y += gpio.c
smm-y += smihandler.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c

View File

@ -1,6 +1,6 @@
romstage-y += gpio.c
ramstage-y += ec.c
smm-y += smihandler.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c
# FIXME: SPD images for samsung_8gb and hynix_8gb are missing.
# It's possible that no mainboards with that variation were manufactured.

View File

@ -1,5 +1,5 @@
romstage-y += romstage.c
romstage-y += gpio.c
smm-y += smihandler.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads