aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp1_1/include
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/drivers/intel/fsp1_1/include
parent923b4d5c581e7f4499e957fc1f042ee776c365a1 (diff)
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/drivers/intel/fsp1_1/include')
-rw-r--r--src/drivers/intel/fsp1_1/include/fsp/api.h2
-rw-r--r--src/drivers/intel/fsp1_1/include/fsp/util.h6
2 files changed, 0 insertions, 8 deletions
diff --git a/src/drivers/intel/fsp1_1/include/fsp/api.h b/src/drivers/intel/fsp1_1/include/fsp/api.h
index 414532c09b..ec227b5e5b 100644
--- a/src/drivers/intel/fsp1_1/include/fsp/api.h
+++ b/src/drivers/intel/fsp1_1/include/fsp/api.h
@@ -20,8 +20,6 @@
#ifndef _FSP1_1_API_H_
#define _FSP1_1_API_H_
-#define FSP_SIG 0x48505346 /* 'FSPH' */
-
/* All the FSP headers need to have UEFI types provided before inclusion. */
#include <fsp/uefi_binding.h>
diff --git a/src/drivers/intel/fsp1_1/include/fsp/util.h b/src/drivers/intel/fsp1_1/include/fsp/util.h
index 79c348ac53..b3772a2598 100644
--- a/src/drivers/intel/fsp1_1/include/fsp/util.h
+++ b/src/drivers/intel/fsp1_1/include/fsp/util.h
@@ -53,12 +53,6 @@ void *get_first_resource_hob(const EFI_GUID *guid);
*/
int fsp_relocate(struct prog *fsp_relocd, const struct region_device *fsp_src);
-/*
- * Relocate FSP held within buffer defined by size to new_addr. Returns < 0
- * on error, offset to FSP_INFO_HEADER on success.
- */
-ssize_t fsp1_1_relocate(uintptr_t new_addr, void *fsp, size_t size);
-
/* Additional HOB types not included in the FSP:
* #define EFI_HOB_TYPE_HANDOFF 0x0001
* #define EFI_HOB_TYPE_MEMORY_ALLOCATION 0x0002