summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/nand_bcm_umi.h
Commit message (Collapse)AuthorAgeFilesLines
* ARM: bcmring: use proper MMIO accessorsArnd Bergmann2012-05-021-36/+35
| | | | | | | | A lot of code in bcmring just dereferences pointers to MMIO locations, which is not safe. This annotates the pointers correctly using __iomem and uses readl/write to access them. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* ARM: bcmring: move cfg_global header to mach/Arnd Bergmann2012-05-021-1/+1
| | | | | | | | Platforms should not have header files outside of include/mach, and bcmring is the only one that has one just under include/, so move that away. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* mtd: nand_bcm: fix hot spin and code duplicationRoel Kluin2010-02-261-46/+25
| | | | | | | | | | In the branch where pagesize equalled NAND_DATA_ACCESS_SIZE, NumToRead wasn't decremented in the `while (numToRead > 11)' loop. Also the first and last while loops were duplicated in both branches. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Acked-by: Leo Chen <leochen@broadcom.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
* mtd: add bcmring nand driverLeo (Hao) Chen2009-10-201-0/+358
Signed-off-by: Leo Hao Chen <leochen@broadcom.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
OpenPOWER on IntegriCloud