On Tue, Apr 18, 2023 at 11:31 PM Simon Glass <s...@chromium.org> wrote: > > This function is used by U-Boot proper. It does not set up MTRRs when SPL > is enabled, but we do want this done when it is called from SPL. In fact > it is confusing to use the same function from SPL, since there are require > a few conditions there.
since there are a few conditions required there ? > > All init_cache_f_r() really does is commit the MTRRs and set up the cache. > Do this in the SPL's version of this function instead. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > (no changes since v1) > > arch/x86/lib/spl.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > Reviewed-by: Bin Meng <bmeng...@gmail.com>