motherboard/amd: Clean up bettong, gardenia makefiles

Declutter the conditional building of fchec.c.  Use the CONFIG
setting directly instead of ifeq ().

Change-Id: I6d3721764e66e5615a639c1979d60ff1291b5d33
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/17902
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
This commit is contained in:
Marshall Dawson 2016-12-16 12:01:24 -05:00 committed by Martin Roth
parent 28cc06fe0e
commit 6e40482306
2 changed files with 2 additions and 6 deletions

View File

@ -19,7 +19,5 @@ romstage-y += boardid.c
ramstage-y += BiosCallOuts.c
ramstage-y += OemCustomize.c
ifeq ($(CONFIG_HUDSON_IMC_FWM), y)
ramstage-y += fchec.c
endif
ramstage-$(CONFIG_HUDSON_IMC_FWM) += fchec.c
ramstage-y += boardid.c

View File

@ -18,6 +18,4 @@ romstage-y += OemCustomize.c
ramstage-y += BiosCallOuts.c
ramstage-y += OemCustomize.c
ifeq ($(CONFIG_HUDSON_IMC_FWM), y)
ramstage-y += fchec.c
endif
ramstage-$(CONFIG_HUDSON_IMC_FWM) += fchec.c