[U-Boot] [U-Boot, 15/17] board_f: x86: Use checkcpu() for CPU init

Tom Rini trini at konsulko.com
Thu Apr 6 16:24:55 UTC 2017


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 <sjg at chromium.org>
> Reviewed-by: Stefan Roese <sr at denx.de>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20170406/84a66cc5/attachment.sig>


More information about the U-Boot mailing list