onenand: fix oob print out issue
authorLei Wen <leiwen@marvell.com>
Tue, 7 Dec 2010 01:38:18 +0000 (09:38 +0800)
committerScott Wood <scottwood@freescale.com>
Tue, 7 Dec 2010 22:04:20 +0000 (16:04 -0600)
commita430b137eb578cf73be476ff05a43baa2aba1ad8
tree03243d6f07d796ee2c81d4b7c53bb710d821cbec
parent59bbb3a8ceea7557338e80302c112ce3b4859537
onenand: fix oob print out issue

Seems original implementation forget to set the pointer to point
to the oobbuf, so when we want to see oob buf, we see nothing...
Fix it by get pointer as the oobbuf set.

Signed-off-by: Lei Wen <leiwen@marvell.com>
common/cmd_onenand.c