mtd: atmel_nand: avoid to report an error when lookup table offset is 0.
authorJosh Wu <josh.wu@atmel.com>
Wed, 23 Jan 2013 12:47:08 +0000 (20:47 +0800)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 12 Feb 2013 15:00:48 +0000 (17:00 +0200)
Before this patch, we assume the whole ROM code are mapping to memory. So
it is wrong if the lookup table offset is 0.

After this patch, we can map only the lookup table of ROM code to memory
intead of the whole ROM code (about 1M). In this case, one lookup table
offset can be 0.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>

No differences found