summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/patches-3.2/042-bcma-export-bcma_pcie_read.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-03-14 22:59:39 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2012-03-14 22:59:39 +0000
commitcee31ca2385b5af98d1813df106887042709b7b1 (patch)
treeb3f9c9cc56610ce5fc0b882249af00f5df3120b2 /target/linux/brcm47xx/patches-3.2/042-bcma-export-bcma_pcie_read.patch
parent7fee567dc04fe5614504e0d33f7c8aa46718ce2e (diff)
downloadmtk-20170518-cee31ca2385b5af98d1813df106887042709b7b1.zip
mtk-20170518-cee31ca2385b5af98d1813df106887042709b7b1.tar.gz
mtk-20170518-cee31ca2385b5af98d1813df106887042709b7b1.tar.bz2
brcm47xx: add support for NAND flash on devices using bcma
This patch add support for the NAND flash on BCM5357 based devices like the WNR3500Lv2. Thank you Tathagata Das <tathagata@alumnux.com> for the patch SVN-Revision: 30943
Diffstat (limited to 'target/linux/brcm47xx/patches-3.2/042-bcma-export-bcma_pcie_read.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.2/042-bcma-export-bcma_pcie_read.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/brcm47xx/patches-3.2/042-bcma-export-bcma_pcie_read.patch b/target/linux/brcm47xx/patches-3.2/042-bcma-export-bcma_pcie_read.patch
index 70bb497..062a29d 100644
--- a/target/linux/brcm47xx/patches-3.2/042-bcma-export-bcma_pcie_read.patch
+++ b/target/linux/brcm47xx/patches-3.2/042-bcma-export-bcma_pcie_read.patch
@@ -13,9 +13,9 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
--- a/drivers/bcma/bcma_private.h
+++ b/drivers/bcma/bcma_private.h
-@@ -46,6 +46,8 @@ u32 bcma_pmu_get_clockcpu(struct bcma_dr
- int bcma_sflash_init(struct bcma_drv_cc *cc);
- #endif /* CONFIG_BCMA_SFLASH */
+@@ -51,6 +51,8 @@ int bcma_sflash_init(struct bcma_drv_cc
+ int bcma_nflash_init(struct bcma_drv_cc *cc);
+ #endif /* CONFIG_BCMA_NFLASH */
+u32 bcma_pcie_read(struct bcma_drv_pci *pc, u32 address);
+