aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.4/022-bcma-from-4.8.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-12-25 20:11:34 +0100
committerJohn Crispin <john@phrozen.org>2017-08-05 08:46:36 +0200
commit74d00a8c3849c1340efd713eb94b786e304c201f (patch)
treede481743de61c34da96ab5f9dba3af3edcfb8260 /target/linux/generic/patches-4.4/022-bcma-from-4.8.patch
parentde350550ef648d9728351b986b0516fa29465c45 (diff)
downloadupstream-74d00a8c3849c1340efd713eb94b786e304c201f.tar.gz
upstream-74d00a8c3849c1340efd713eb94b786e304c201f.tar.bz2
upstream-74d00a8c3849c1340efd713eb94b786e304c201f.zip
kernel: split patches folder up into backport, pending and hack folders
* properly format/comment all patches * merge debloat patches * merge Kconfig patches * merge swconfig patches * merge hotplug patches * drop 200-fix_localversion.patch - upstream * drop 222-arm_zimage_none.patch - unused * drop 252-mv_cesa_depends.patch - no longer required * drop 410-mtd-move-forward-declaration-of-struct-mtd_info.patch - unused * drop 661-fq_codel_keep_dropped_stats.patch - outdated * drop 702-phy_add_aneg_done_function.patch - upstream * drop 840-rtc7301.patch - unused * drop 841-rtc_pt7c4338.patch - upstream * drop 921-use_preinit_as_init.patch - unused * drop spio-gpio-old and gpio-mmc - unused Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/generic/patches-4.4/022-bcma-from-4.8.patch')
-rw-r--r--target/linux/generic/patches-4.4/022-bcma-from-4.8.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/target/linux/generic/patches-4.4/022-bcma-from-4.8.patch b/target/linux/generic/patches-4.4/022-bcma-from-4.8.patch
deleted file mode 100644
index 3ff4e94967..0000000000
--- a/target/linux/generic/patches-4.4/022-bcma-from-4.8.patch
+++ /dev/null
@@ -1,52 +0,0 @@
---- a/drivers/bcma/Kconfig
-+++ b/drivers/bcma/Kconfig
-@@ -76,9 +76,16 @@ config BCMA_PFLASH
- default y
-
- config BCMA_SFLASH
-- bool
-- depends on BCMA_DRIVER_MIPS
-+ bool "ChipCommon-attached serial flash support"
-+ depends on BCMA_HOST_SOC
- default y
-+ help
-+ Some cheap devices have serial flash connected to the ChipCommon
-+ instead of independent SPI controller. It requires using a separated
-+ driver that implements ChipCommon specific interface communication.
-+
-+ Enabling this symbol will let bcma recognize serial flash and register
-+ it as platform device.
-
- config BCMA_NFLASH
- bool
---- a/drivers/bcma/driver_chipcommon_b.c
-+++ b/drivers/bcma/driver_chipcommon_b.c
-@@ -33,11 +33,12 @@ static bool bcma_wait_reg(struct bcma_bu
- void bcma_chipco_b_mii_write(struct bcma_drv_cc_b *ccb, u32 offset, u32 value)
- {
- struct bcma_bus *bus = ccb->core->bus;
-+ void __iomem *mii = ccb->mii;
-
-- writel(offset, ccb->mii + 0x00);
-- bcma_wait_reg(bus, ccb->mii + 0x00, 0x0100, 0x0000, 100);
-- writel(value, ccb->mii + 0x04);
-- bcma_wait_reg(bus, ccb->mii + 0x00, 0x0100, 0x0000, 100);
-+ writel(offset, mii + BCMA_CCB_MII_MNG_CTL);
-+ bcma_wait_reg(bus, mii + BCMA_CCB_MII_MNG_CTL, 0x0100, 0x0000, 100);
-+ writel(value, mii + BCMA_CCB_MII_MNG_CMD_DATA);
-+ bcma_wait_reg(bus, mii + BCMA_CCB_MII_MNG_CTL, 0x0100, 0x0000, 100);
- }
- EXPORT_SYMBOL_GPL(bcma_chipco_b_mii_write);
-
---- a/include/linux/bcma/bcma_driver_chipcommon.h
-+++ b/include/linux/bcma/bcma_driver_chipcommon.h
-@@ -504,6 +504,9 @@
- #define BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_MASK 0x1ff00000
- #define BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_SHIFT 20
-
-+#define BCMA_CCB_MII_MNG_CTL 0x0000
-+#define BCMA_CCB_MII_MNG_CMD_DATA 0x0004
-+
- /* BCM4331 ChipControl numbers. */
- #define BCMA_CHIPCTL_4331_BT_COEXIST BIT(0) /* 0 disable */
- #define BCMA_CHIPCTL_4331_SECI BIT(1) /* 0 SECI is disabled (JATG functional) */