summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/brcmnand/Makefile
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2022-01-07 21:46:14 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-01-23 18:37:19 +0300
commitfeca4cc4765a67907a97bddfa94aa6901cbbce7d (patch)
tree5e6e1d1e541d1b3a584f2728b203e98e12b17da5 /drivers/mtd/nand/raw/brcmnand/Makefile
parent5abd37f6e9d653b748a1acad7e0abcbe540e896a (diff)
downloadlinux-feca4cc4765a67907a97bddfa94aa6901cbbce7d.tar.xz
mtd: rawnand: brcmnand: Add BCMA shim
Add a BCMA shim to allow us to register the brcmnand driver using the BCMA bus which provides indirect memory mapped access to SoC registers. There are a number of registers that need to be byte swapped because they are natively big endian, coming directly from the NAND chip, and there is no bus interface unlike the iProc or STB platforms that performs the byte swapping for us. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20220107184614.2670254-10-f.fainelli@gmail.com
Diffstat (limited to 'drivers/mtd/nand/raw/brcmnand/Makefile')
-rw-r--r--drivers/mtd/nand/raw/brcmnand/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/brcmnand/Makefile b/drivers/mtd/nand/raw/brcmnand/Makefile
index 195b845e48b8..16dc7254200e 100644
--- a/drivers/mtd/nand/raw/brcmnand/Makefile
+++ b/drivers/mtd/nand/raw/brcmnand/Makefile
@@ -6,3 +6,5 @@ obj-$(CONFIG_MTD_NAND_BRCMNAND) += bcm63138_nand.o
obj-$(CONFIG_MTD_NAND_BRCMNAND) += bcm6368_nand.o
obj-$(CONFIG_MTD_NAND_BRCMNAND) += brcmstb_nand.o
obj-$(CONFIG_MTD_NAND_BRCMNAND) += brcmnand.o
+
+obj-$(CONFIG_MTD_NAND_BRCMNAND_BCMA) += bcma_nand.o