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

Bin Meng bmeng.cn at gmail.com
Sat Nov 8 16:18:58 CET 2014


Hi Simon,

On Fri, Nov 7, 2014 at 10:23 AM, Simon Glass <sjg at chromium.org> wrote:
> 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.

OK, I will rework the patch.

Regards,
Bin


More information about the U-Boot mailing list