cmd, nand: add more info to "nand info"
authorHeiko Schocher <hs@denx.de>
Sun, 12 Apr 2015 08:18:09 +0000 (10:18 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 23 Apr 2015 18:56:08 +0000 (14:56 -0400)
commit5db73feb1d3fd0130ce97626bfa75a4287b3380a
tree61e620280c4b54dc789ada4d42bb5b6f1d764f06
parent1a1fa24066895dd4eca340c2c8fffd5f5df4d296
cmd, nand: add more info to "nand info"

add subpagesize, nand options and bbt options to the
"nand info" output.

=> nand info

Device 0: nand0, sector size 256 KiB
  Page size       4096 b
  OOB size         256 b
  Erase size    262144 b
  subpagesize     4096 b
  options     0x     200
  bbt options 0x    8000

Signed-off-by: Heiko Schocher <hs@denx.de>
common/cmd_nand.c