On Mon, Jul 31, 2023 at 9:56 PM Simon Glass <s...@chromium.org> wrote: > > From: Bin Meng <bmeng...@gmail.com> > > On Coral U-Boot SPL programs some MTRRs and FSPv2 in U-Boot proper > needs to program MTRRs too. With current testing logic of mtrr > commit in init_cache_f_r(), the mtrr commit is skipped which won't > work as the queued mtrr requests include setup for DRAM regions. > > Change the logic to allow such configuration. > > Signed-off-by: Bin Meng <bmeng...@gmail.com> > Tweak to put back CONFIG_FSP_VERSION2 at top: > Signed-off-by: Simon Glass <s...@chromium.org> > > --- > > Changes in v3: > - Allow committing MTRRs with FSP_VERSION2 > > Changes in v2: > - new patch: "x86: Change tesing logic of mtrr commit" > > arch/x86/lib/init_helpers.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) >
applied to u-boot-x86, thanks!