[U-Boot] [PATCH v3 01/15] cmd: cpu: fix NULL cpu feature prints

Tom Rini
2017-04-20T20:06:39Z

On Tue, Apr 18, 2017 at 10:38:30PM +0200, Álvaro Fernández Rojas wrote:

> Commit 740d5d3 added two new features but only one feature name,
> which results in NULL prints when device_id feature is selected.
>
> Before:
> HG556a # cpu detail
> -1: cpu at 0 BCM6358A1
> ID = 0, freq = 300 MHz: L1 cache, MMU, NULL
> Device ID 0x2a010
> -1: cpu at 1 BCM6358A1
> ID = 1, freq = 300 MHz: L1 cache, MMU, NULL
> Device ID 0x2a010
> After:
> HG556a # cpu detail
> -1: cpu at 0 BCM6358A1
> ID = 0, freq = 300 MHz: L1 cache, MMU, Device ID
> Device ID 0x2a010
> -1: cpu at 1 BCM6358A1
> ID = 1, freq = 300 MHz: L1 cache, MMU, Device ID
> Device ID 0x2a010
>
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Reviewed-by: Tom Rini <trini@konsulko.com>

--
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/20170420/1d7f3e55/attachment.sig>