Fix flash write support.

MEMGETINFO can not be issued to an mtdblock device, only an mtd
device. This bothers me in that this code could never have worked,
since adding the MEMGETINFO call Humax has clearly never tested it.
Nonetheless it seems to work in my own testing, so I'm ready to go
with it.

Also (optionally) suppress verbose output.

Change-Id: I1cab453c4986265f4a7a644723c14988fa4cb5a3
2 files changed
tree: 9d1e91d5c90c5bdaecc807b1690c1faa7e3acc50
  1. libupgrade/
  2. makehdf