mtd: atmel_nand: don't map the ROM table if no pmecc table offset in DT
authorWu, Josh <Josh.wu@atmel.com>
Thu, 2 Apr 2015 06:13:47 +0000 (14:13 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 6 Apr 2015 00:47:56 +0000 (17:47 -0700)
if atmel,pmecc-lookup-table-offset is not found in DT node, we don't
need to map the ROM table as we will build a runtime gf table anyway.

Reported-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/atmel_nand.c

Simple merge