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)
commit41c7540d0c4e362212845aa2258c15aaa878665f
treedc1a70771a9ecae9d104feca2478a8d09bcc77d9
parent477478aedc8bdf1925785835609bc7e790f69aef
mtd: atmel_nand: don't map the ROM table if no pmecc table offset in DT

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