u-boot/cmd
Lothar Waßmann 66dc09c554 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>
2017-07-10 08:39:25 -04:00
..
fastboot
mvebu arm64: mvebu: Fix the bubt comamnd NAND device support 2017-05-09 13:38:18 +02:00
.gitignore
aes.c
armflash.c
bdinfo.c powerpc: Partialy restore core of mpc8xx 2017-07-08 15:55:26 -04:00
bedbug.c powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
blkcache.c
blob.c
bmp.c
boot.c
bootefi.c efi_loader: Add check for fallback fdt memory reservation 2017-07-03 13:35:47 +02:00
booti.c
bootm.c
bootmenu.c
bootstage.c
bootz.c
cache.c
cbfs.c
clk.c
config.c
console.c
cpu.c cmd: cpu: refactor to ensure devices are probed and improve code style 2017-05-10 16:16:09 +02:00
cramfs.c fs: Kconfig: Add a separate option for FS_JFFS2 2017-05-22 12:45:31 -04:00
cros_ec.c
dataflash_mmc_mux.c
date.c
demo.c
dfu.c
diag.c
disk.c
display.c
echo.c
eeprom.c Convert CONFIG_CMD_EEPROM et al to Kconfig 2017-05-22 09:33:49 -04:00
efi.c
elf.c cmd/elf.c: Support passing arguments with bootelf 2017-06-05 14:13:03 -04:00
ethsw.c cmd: ethsw: Fix out-of-bounds error 2017-06-16 10:11:42 -04:00
exit.c
ext2.c
ext4.c
fastboot.c
fat.c
fdc.c
fdt.c fdt: Add a check to fdt_print() for coverity 2017-06-12 08:38:08 -04:00
fitupd.c
flash.c
fpga.c
fpgad.c
fs.c
fs_uuid.c
fuse.c
gettime.c
gpio.c
gpt.c
hash.c
help.c
host.c
i2c.c
ide.c powerpc, 8xx: remove support for 8xx 2017-06-12 08:37:55 -04:00
ini.c
io.c cmd/io.c: Fix comparison of unsigned expression warning 2017-05-12 08:37:38 -04:00
iotrace.c
irq.c
itest.c
jffs2.c cmd: jffs2: Rename command ls to fsls 2017-06-09 11:24:01 -04:00
Kconfig powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
led.c cmd/led.c: Remove unnecessary check on 'cmd' value 2017-05-12 08:37:38 -04:00
legacy_led.c
license.c
load.c
log.c
lzmadec.c
mac.c
Makefile powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
md5sum.c
mdio.c
mem.c Kconfig: Finish migration of hashing commands 2017-05-31 19:38:14 -04:00
mfsl.c
mii.c
misc.c
mmc.c
mmc_spi.c
mp.c
mtdparts.c cmd: mtdparts: fix uninitialized variable warning 2017-06-12 08:38:42 -04:00
nand.c cmd, nand: fix broken output of "nand info" 2017-07-10 08:39:25 -04:00
net.c
nvedit.c cmd: nvedit: bring error message in sync with condition under which it appears 2017-06-12 08:38:43 -04:00
onenand.c
part.c
pci.c pci: Correct cast for sandbox 2017-06-02 10:16:46 -06:00
pcmcia.c powerpc, 8xx: remove support for 8xx 2017-06-12 08:37:55 -04:00
pmic.c
portio.c
pxe.c
qfw.c
read.c
reginfo.c powerpc, 8xx: move specific reginfo 2017-07-08 15:55:30 -04:00
regulator.c
reiser.c
remoteproc.c
sata.c
scsi.c
setexpr.c
sf.c
sha1sum.c
sound.c
source.c powerpc, 8xx: remove support for 8xx 2017-06-12 08:37:55 -04:00
spi.c
spl.c
strings.c
terminal.c
test.c
thordown.c
time.c
tpm.c
tpm_test.c
trace.c
tsi148.c
ubi.c
ubifs.c
universe.c
unzip.c
usb.c
usb_mass_storage.c cmd: usb_mass_storage: Staticize do_usb_mass_storage() 2017-06-18 21:11:10 +02:00
version.c
ximg.c
yaffs2.c
zfs.c
zip.c