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

Stefan Roese sr at denx.de
Wed Mar 29 05:22:45 UTC 2017


On 28.03.2017 18:27, 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>

Thanks,
Stefan


More information about the U-Boot mailing list