diff options
| author | Álvaro Fernández Rojas <[email protected]> | 2017-04-25 00:39:13 +0200 |
|---|---|---|
| committer | Daniel Schwierzeck <[email protected]> | 2017-05-10 16:16:09 +0200 |
| commit | 22c2c17915ba3f18d958bbf2c2f2c7facf2194cf (patch) | |
| tree | d7d8140ee06c2540440b955707d87bf8cfadbb78 /drivers/sysreset/sysreset_syscon.c | |
| parent | 0d159d6852e2bafc453206a327e267124704a30e (diff) | |
cmd: cpu: fix NULL cpu feature prints
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@0 BCM6358A1
ID = 0, freq = 300 MHz: L1 cache, MMU, NULL
Device ID 0x2a010
-1: cpu@1 BCM6358A1
ID = 1, freq = 300 MHz: L1 cache, MMU, NULL
Device ID 0x2a010
After:
HG556a # cpu detail
-1: cpu@0 BCM6358A1
ID = 0, freq = 300 MHz: L1 cache, MMU, Device ID
Device ID 0x2a010
-1: cpu@1 BCM6358A1
ID = 1, freq = 300 MHz: L1 cache, MMU, Device ID
Device ID 0x2a010
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers/sysreset/sysreset_syscon.c')
0 files changed, 0 insertions, 0 deletions
