diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2017-07-10 06:44:24 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-07-10 12:39:25 (GMT) |
commit | 66dc09c5540be61345ae6bcd797149065baf5340 (patch) | |
tree | 88ca1066b18130f46ac146dc978e3c0022fa7528 /Makefile | |
parent | 2bf94120e9a1827ddaa1f11f4e9b909b2c03bc37 (diff) | |
download | u-boot-66dc09c5540be61345ae6bcd797149065baf5340.tar.xz |
cmd, nand: fix broken output of "nand info"
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@KARO-electronics.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions