summaryrefslogtreecommitdiffstats
path: root/src/commonlib/Makefile.inc
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-09-30 17:49:04 -0500
committerAaron Durbin <adurbin@chromium.org>2015-10-02 12:15:25 +0000
commit04ebf598de6d8b8152c99ebe181de084e0b5b242 (patch)
treed8a0c3ff9d7988ffb9011d2afb5df137e3712866 /src/commonlib/Makefile.inc
parent923b4d5c581e7f4499e957fc1f042ee776c365a1 (diff)
downloadcoreboot-04ebf598de6d8b8152c99ebe181de084e0b5b242.tar.gz
coreboot-04ebf598de6d8b8152c99ebe181de084e0b5b242.tar.bz2
coreboot-04ebf598de6d8b8152c99ebe181de084e0b5b242.zip
fsp1_1: move relocation algorithm to commonlib
In order to support FSP 1.1 relocation within cbfstool the relocation code needs to be moved into commonlib. To that end, move it. The FSP 1.1 relocation code binds to edk2 UEFI 2.4 types unconditionally which is separate from the FSP's version binding. BUG=chrome-os-partner:44827 BRANCH=None TEST=Built and booted glados. Change-Id: Ib2627d02af99092875ff885f7cb048f70ea73856 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/11772 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/commonlib/Makefile.inc')
-rw-r--r--src/commonlib/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commonlib/Makefile.inc b/src/commonlib/Makefile.inc
index 70a9b1ad7bf9..929bf8edc0cd 100644
--- a/src/commonlib/Makefile.inc
+++ b/src/commonlib/Makefile.inc
@@ -8,3 +8,5 @@ verstage-y += region.c
romstage-y += region.c
ramstage-y += region.c
smm-y += region.c
+
+ramstage-$(CONFIG_PLATFORM_USES_FSP1_1) += fsp1_1_relocate.c