]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5083dbe622d760dc5cdbe15fcf11f18ed41a9f87
treedc1a70771a9ecae9d104feca2478a8d09bcc77d9
parentf5e733518151d0d14374268900324bbe0ee89098
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