mtd: nand: gpmi: add raw oob access functions
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Sun, 30 Nov 2014 18:10:30 +0000 (19:10 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 1 Dec 2014 08:41:50 +0000 (00:41 -0800)
commit7ca94e07fe8ccbaca9ecb59f388ab8dd93c73e88
treead1b92f1e6dcfde6c5c97034a1418430325758ad
parentda3bc42c1becfde026656df50ad155239d4e1a6b
mtd: nand: gpmi: add raw oob access functions

Implement raw OOB access functions to retrieve OOB bytes when accessing the
NAND in raw mode.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Tested-by: Huang Shijie <shijie8@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/gpmi-nand/gpmi-nand.c