UBI: print media information earlier
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 20 Apr 2008 15:00:33 +0000 (18:00 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 20 Apr 2008 15:02:42 +0000 (18:02 +0300)
commit434b825e1fc9ef7971fc962734278ffbab36a1ab
tree361f3f17722a53a3eaf6d3b94623c2ab4517cfc7
parent4bc1dca4b0eb4dfbf100895bfc1256f21e3c901a
UBI: print media information earlier

Print information about logicale eraseblock size, sub-page
size and so on at early stage, befor an attempt to attach
the MTD device was made. This is more convenient to do so
because the attempt to attach may fail, and the information
is never printed then.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/build.c