drivers/intel/fsp2_0: Verify HOBs returned by FspMemoryInit

Verify that FSP is properly returning:
* HOB list pointer
* FSP_BOOTLOADER_TOLUM_HOB
* FSP_RESERVED_MEMORY_RESOURCE_HOB

TEST=Build and run on Galileo Gen2

Change-Id: I23005d10f7f3ccf06a2e29dab5fa11c7ed79f187
Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-on: https://review.coreboot.org/15850
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Lee Leahy
2016-08-01 15:47:42 -07:00
parent ac3b0a6e9f
commit 52d0c682bf
9 changed files with 124 additions and 27 deletions

View File

@@ -73,4 +73,11 @@ config FSP_M_XIP
help
Select this value when FSP-M is execute-in-place.
config VERIFY_HOBS
bool "Verify the FSP hand-off-blocks"
default n
help
Verify that the HOBs required by coreboot are returned by FSP and
that the resource HOBs are in the correct order and position.
endif