aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp2_0/include/fsp
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-03-08 11:23:52 -0600
committerAaron Durbin <adurbin@chromium.org>2016-03-09 16:47:40 +0100
commit0fcd6f912ba53ef1fc6327143c07727a556a718a (patch)
treefe11ec57cde33cf42d20d45d679a39c761701bf9 /src/drivers/intel/fsp2_0/include/fsp
parent9b28f0023cc6bf71d500132f8cdf5b0a7193a580 (diff)
drivers/intel/fsp2_0: remove struct resource usage
There's no need to use a struct resource type for fsp_find_reserved_memory(). struct resource is mainly associated with a device and that memory is added to cbmem after memory init. Other uses ins FSP 2.0 just use struct range_entry. Use that instead for consistency. Change-Id: Id7d39da1c2e23f97cdaafd7f5d281cefa6fee543 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/13960 Tested-by: build bot (Jenkins) Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
Diffstat (limited to 'src/drivers/intel/fsp2_0/include/fsp')
-rw-r--r--src/drivers/intel/fsp2_0/include/fsp/util.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/intel/fsp2_0/include/fsp/util.h b/src/drivers/intel/fsp2_0/include/fsp/util.h
index 69e545ee0e..0bdcd79dd4 100644
--- a/src/drivers/intel/fsp2_0/include/fsp/util.h
+++ b/src/drivers/intel/fsp2_0/include/fsp/util.h
@@ -15,7 +15,6 @@
#include <boot/coreboot_tables.h>
#include <fsp/info_header.h>
-#include <device/resource.h>
#include <memrange.h>
/*
@@ -30,7 +29,7 @@ enum cb_err fsp_fill_lb_framebuffer(struct lb_framebuffer *framebuffer);
* Hand-off-block utilities which do not depend on CBMEM, but need to be passed
* the HOB list explicitly.
*/
-void fsp_find_reserved_memory(struct resource *res, const void *hob_list);
+void fsp_find_reserved_memory(struct range_entry *re, const void *hob_list);
void fsp_print_memory_resource_hobs(const void *hob_list);
/* Load an FSP binary into CBFS, and fill the associated fsp_header struct */