From: Tom Rini Date: Thu, 6 Apr 2017 12:24:55 -0400 Subject: [U-Boot] [U-Boot, 15/17] board_f: x86: Use checkcpu() for CPU init In-Reply-To: <20170328162733.20905-15-sjg@chromium.org> References: <20170328162733.20905-15-sjg@chromium.org> Message-ID: <20170406162455.GF19897@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Mar 28, 2017 at 10:27:30AM -0600, Simon Glass wrote: > At present we misuse print_cpuinfo() do so CPU init on x86. This is done > because it is the next available call after the console is enabled. But > several arches use checkcpu() instead. Despite the horrible name (which > we can fix), it seems a better choice. > > Adjust the various x86 CPU implementations to move their init code into > checkcpu() and use print_cpuinfo() only for printing CPU info. > > Signed-off-by: Simon Glass > Reviewed-by: Stefan Roese Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: