From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Thu, 8 Apr 2021 10:42:59 +0800 Subject: [PATCH 06/17] x86: Don't set up MTRRs if previously done In-Reply-To: <20210407043228.2268429-6-sjg@chromium.org> References: <20210407043228.2268429-1-sjg@chromium.org> <20210407043228.2268429-6-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Apr 7, 2021 at 12:33 PM Simon Glass wrote: > > When starting U-Boot from a previous-stage bootloader we presumably don't > need to set up the variable MTRRs. In fact this could be harmful if the > existing settings are not what U-Boot uses. > > Skip that step in this case. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/i386/cpu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Bin Meng