Re: [PATCH 32/32] x86: fsp: Adjust calculations for MTRR range and DRAM top

2020-10-16 Thread Bin Meng
On Mon, Sep 28, 2020 at 12:26 PM Simon Glass wrote: > > 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 m

[PATCH 32/32] x86: fsp: Adjust calculations for MTRR range and DRAM top

2020-09-27 Thread Simon Glass
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_t