[U-Boot] cmd, nand: fix broken output of "nand info"
Tom Rini
trini at konsulko.com
Mon Jul 10 17:07:58 UTC 2017
On Mon, Jul 10, 2017 at 08:44:24AM +0200, Lothar Waßmann wrote:
> If the value of either "nand options" or "bbt options" has a zero in
> the most significant nibble, the '0x' prefix will be isolated from the
> value like shown below:
> |Device 0: nand0, sector size 128 KiB
> | Page size 2048 b
> | OOB size 64 b
> | Erase size 131072 b
> | subpagesize 2048 b
> | options 0x40000200
> | bbt options 0x 60000
>
> Change the format string to produce leading zeroes filling the gap.
>
> Signed-off-by: Lothar Waßmann <LW at KARO-electronics.de>
Applied to u-boot/master, thanks!
--
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/20170710/f26fe18a/attachment.sig>
More information about the U-Boot
mailing list