[U-Boot] [PATCH 1/4] x86: Display more detailed CPU information on boot

Simon Glass sjg at chromium.org
Fri Nov 7 03:23:57 CET 2014


Hi Bin,

On 6 November 2014 19:22, Simon Glass <sjg at chromium.org> wrote:
> Hi Bin,
>
> On 4 November 2014 07:58, Bin Meng <bmeng.cn at gmail.com> wrote:
>> Currently only basic CPU information (x86 or x86_64) is displayed
>> on boot. This commit adds more detailed information output including
>> CPU vendor name, device id, family, model and stepping as well as
>> the CPU brand string, all of which are extracted from CPUID result.
>>
>> The CPU identification happens in x86_cpu_init_f() and corresponding
>> fields are saved in the global data. Later print_cpuinfo() just uses
>> these fields to display CPU information without the need to probe
>> again in real time.

Sorry...one more point. For CPU info it should fit on one line. So
maybe use debug() for the extra stuff. If you like you can create a
'cpuinfo' command or similar to get more detailed information, but
U-Boot should start up with the minimum of verbiage.

Regards,
Simon


More information about the U-Boot mailing list