UPSTREAM: drivers/intel/fsp1_1: only set a base address for FSP in COREBOOT CBFS

The -b FSP_LOC argument to cbfstool is only valid for the COREBOOT
CBFS. Don't pass that value for all other CBFS regions.

BUG=None
BRANCH=None
TEST=None

Change-Id: Ibc90f238214bdde4f4d3e0d49b1981413d130f1a
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/14641
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://chromium-review.googlesource.com/368713
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
Aaron Durbin 2016-05-06 16:06:36 -05:00 committed by chrome-bot
parent a951d4dba2
commit 4ae6b9a3ea

View file

@ -55,9 +55,9 @@ vbt.bin-type := optionrom
ifeq ($(CONFIG_HAVE_FSP_BIN),y)
cbfs-files-y += fsp.bin
fsp.bin-file := $(call strip_quotes,$(CONFIG_FSP_FILE))
fsp.bin-position := $(CONFIG_FSP_LOC)
fsp.bin-type := fsp
fsp.bin-options := --xip
fsp.bin-COREBOOT-cbfstool-opts := -b $(CONFIG_FSP_LOC)
endif
endif