x86: Make sure boot device is mapped below 4G

Hardware / Coreboot - Stefan Reinauer [chromium.org] - 4 August 2015 14:25 UTC

On x86-64 the current way of calculating the base address of the boot device (SPI flash) gets an unwanted sign extension, making it live somewhere at the end of 64bit address space.

Enforce rom_base to be at the upper end of the 4G address space.

Change-Id: Ia81e82094d3c51f6c10e02b4b0df2f3e1519d39e

fb82ebe x86: Make sure boot device is mapped below 4G
src/arch/x86/mmap_boot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: review.coreboot.org


  • Share