summaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp1_1
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/intel/fsp1_1')
-rw-r--r--src/drivers/intel/fsp1_1/fsp_report.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/drivers/intel/fsp1_1/fsp_report.c b/src/drivers/intel/fsp1_1/fsp_report.c
index 884218d7f7..f5c7b2f05b 100644
--- a/src/drivers/intel/fsp1_1/fsp_report.c
+++ b/src/drivers/intel/fsp1_1/fsp_report.c
@@ -10,14 +10,11 @@ uintptr_t temp_memory_end;
void report_fsp_output(void)
{
- const struct region fsp_car_region = {
- .offset = temp_memory_start,
- .size = temp_memory_end - temp_memory_start,
- };
- const struct region coreboot_car_region = {
- .offset = (uintptr_t)_car_region_start,
- .size = (uintptr_t)_car_region_size,
- };
+ const struct region fsp_car_region = region_create(
+ temp_memory_start, temp_memory_end - temp_memory_start);
+ const struct region coreboot_car_region = region_create(
+ (uintptr_t)_car_region_start, (uintptr_t)_car_region_size);
+
printk(BIOS_DEBUG, "FSP: reported temp_mem region: [0x%08lx,0x%08lx)\n",
temp_memory_start, temp_memory_end);
if (!region_is_subregion(&fsp_car_region, &coreboot_car_region)) {