diff options
author | Simon Glass <sjg@chromium.org> | 2020-11-04 09:57:43 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-11-06 09:51:33 +0800 |
commit | d46c0932a9d4b2fcd8064f4567436f5143526147 (patch) | |
tree | 2f6671099b494477adaec075059b1bb6430b0e4d /drivers/ddr/imx/imx8m/ddr_init.c | |
parent | dd27cd6dab40765797962df500bda8eab6e665f5 (diff) | |
download | u-boot-d46c0932a9d4b2fcd8064f4567436f5143526147.tar.gz u-boot-d46c0932a9d4b2fcd8064f4567436f5143526147.tar.xz u-boot-d46c0932a9d4b2fcd8064f4567436f5143526147.zip |
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>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions