u-boot/arch/x86/lib/fsp
Simon Glass d46c0932a9 x86: fsp: Adjust calculations for MTRR range and DRAM top
At present the top of available DRAM is the same as the top of the range
of the low-memory MTRR.

In fact, U-Boot is allowed to use memory up until the start of the FSP
reserved memory. Use that value for low_end, since it makes more memory
available.

Keep the same calculation as before for mtrr_top, i.e. the top of
reserved memory.

A side-effect of this change is that the E820 tables have a single entry
that extends from the bottom of the memory used by U-Boot to the bottom
of the FSP reserved memory. This includes the bloblist, if ACPI tables
are placed there.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2020-11-06 09:51:33 +08:00
..
fsp_common.c x86: Notify the FSP of the 'end firmware' event 2020-09-25 11:27:22 +08:00
fsp_dram.c x86: fsp: Adjust calculations for MTRR range and DRAM top 2020-11-06 09:51:33 +08:00
fsp_graphics.c x86: Silence some logging statements 2020-11-06 09:51:32 +08:00
fsp_support.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Makefile x86: fsp: Make graphics support common to FSP1/2 2019-12-15 11:44:16 +08:00