From: Boris Brezillon Date: Thu, 22 Jan 2015 10:21:30 +0000 (+0800) Subject: mtd: atmel_nand: check NFC busy flag by HSMC_SR instead of NFC cmd regs X-Git-Tag: omap-for-v4.1/fixes-rc1~47^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=111573ccd89b67fdef64d945cc0e611df85a6ac8;p=pandora-kernel.git mtd: atmel_nand: check NFC busy flag by HSMC_SR instead of NFC cmd regs Currently the driver read NFC command registers to get NFC busy flag. Actually this flag also can be get by reading HSMC_SR register. Use the read NFC command registers need mapping a huge memory region. To save the mapped memory region, we change to check NFC busy flag by reading HSMC_SR register. Signed-off-by: Boris Brezillon Signed-off-by: Josh Wu Signed-off-by: Brian Norris --- Reading git-diff-tree failed