u-boot-brain/arch/x86
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
..
cpu x86: Silence some logging statements 2020-11-06 09:51:32 +08:00
dts x86: Use CONFIG_CHROMEOS_VBOOT for verified boot 2020-11-06 09:51:31 +08:00
include/asm x86: Use CONFIG_CHROMEOS_VBOOT for verified boot 2020-11-06 09:51:31 +08:00
lib x86: fsp: Adjust calculations for MTRR range and DRAM top 2020-11-06 09:51:33 +08:00
config.mk kconfig / kbuild: Re-sync with Linux 4.19 2020-04-10 11:18:32 -04:00
Kconfig x86: Support Atom SoCs using SWSMISCI rather than the SWSCI 2020-09-25 11:27:18 +08:00
Makefile x86: Allow 16-bit init to be in TPL 2019-05-08 13:02:13 +08:00