summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtd_blkdevs.c
diff options
context:
space:
mode:
authorJosh Wu <josh.wu@atmel.com>2013-01-23 20:47:08 +0800
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-02-12 17:00:48 +0200
commitc0cf787f10c6ffb050e85c8ac9c0a8161cb06cb9 (patch)
tree94d81074129bcb6536e48aef11a0040bf030a742 /drivers/mtd/mtd_blkdevs.c
parentf1a7c9d350339e8a81cda9469ba9a591fb9c9a3b (diff)
downloadtalos-op-linux-c0cf787f10c6ffb050e85c8ac9c0a8161cb06cb9.tar.gz
talos-op-linux-c0cf787f10c6ffb050e85c8ac9c0a8161cb06cb9.zip
mtd: atmel_nand: avoid to report an error when lookup table offset is 0.
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>
Diffstat (limited to 'drivers/mtd/mtd_blkdevs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud