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 <boris.brezillon@free-electrons.com>
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
Boris Brezillon 2015-01-22 18:21:30 +08:00 • committed by Brian Norris
commit 111573ccd8
2 changed files with 3 additions and 3 deletions