From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Schwierzeck Date: Sun, 30 Apr 2017 20:31:04 +0200 Subject: [U-Boot] [PATCH v6 01/14] cmd: cpu: fix NULL cpu feature prints In-Reply-To: <1493073566-11982-2-git-send-email-noltari@gmail.com> References: <1492098280-3259-1-git-send-email-noltari@gmail.com> <1493073566-11982-1-git-send-email-noltari@gmail.com> <1493073566-11982-2-git-send-email-noltari@gmail.com> Message-ID: <97531a36-0378-db2f-646f-05ec75b8ac0d@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de Am 25.04.2017 um 00:39 schrieb Álvaro Fernández Rojas: > 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 > Reviewed-by: Simon Glass > Reviewed-by: Tom Rini > --- > v6: No changes. > v5: No changes. > v4: No changes. > v3: No changes. > v2: Introduce changes suggested by Daniel Schwierzeck: > - Add the missing name instead of checking for null names. > > cmd/cpu.c | 1 + > 1 file changed, 1 insertion(+) > applied to u-boot-mips/next, thanks! -- - Daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: