[MTD] NAND: Fix broken bad block scan for 16 bit devices
authorThomas Gleixner <tglx@linutronix.de>
Fri, 15 Jul 2005 13:53:51 +0000 (14:53 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Sat, 16 Jul 2005 07:27:52 +0000 (09:27 +0200)
The previous change to read a single byte from oob breaks the
bad block scan on 16 bit devices, when the byte is on an odd
address. Read the complete oob for now.
Remove the unused arguments from check_short_pattern()
Move the wait for ready function so it is only executed when
consecutive reads happen.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

No differences found