]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: nand: add NAND driver "library" for Broadcom STB NAND controller
authorBrian Norris <computersforpeace@gmail.com>
Fri, 6 Mar 2015 19:38:08 +0000 (11:38 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 15 May 2015 20:15:58 +0000 (13:15 -0700)
commit27c5b17cd1b10564fa36f8f51e4b4b41436ecc32
tree0a56023111df335dd960fd58b8e57caf6b7ac5e3
parentbd1b40fe584e64f40fbb57e98dcfaf3b6e583642
mtd: nand: add NAND driver "library" for Broadcom STB NAND controller

This core originated in Set-Top Box chips (BCM7xxx) but is used in a
variety of other Broadcom chips, including some BCM63xxx, BCM33xx, and
iProc/Cygnus. It's been used only on ARM and MIPS SoCs, so restrict it
to those architectures.

There are multiple revisions of this core throughout the years, and
almost every version broke register compatibility in some small way, but
with some effort, this driver is able to support v4.0, v5.0, v6.x, v7.0,
and v7.1. It's been tested on v5.0, v6.0, v6.1, v7.0, and v7.1 recently,
so there hopefully are no more lurking inconsistencies.

This patch adds just some library support, on which platform drivers can
be built.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
drivers/mtd/nand/Kconfig
drivers/mtd/nand/Makefile
drivers/mtd/nand/brcmnand/Makefile [new file with mode: 0644]
drivers/mtd/nand/brcmnand/brcmnand.c [new file with mode: 0644]
drivers/mtd/nand/brcmnand/brcmnand.h [new file with mode: 0644]