[MTD] Improve heuristic for detecting wrong-endian RedBoot partition table
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 10 Feb 2007 09:58:31 +0000 (09:58 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 10 Feb 2007 09:58:31 +0000 (09:58 +0000)
commit7ca353a428ecbaf77b651fbacfcb2f2f6d813879
tree94e8338e3fdec701e2d9d6ce2ad38089dbf78ab4
parent11192146e57bc8e58865e7d9c2497f66a4f7e6e7
[MTD] Improve heuristic for detecting wrong-endian RedBoot partition table

Also limit the amount we scan to one eraseblock.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/redboot.c