aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/files
Commit message (Collapse)AuthorAgeFilesLines
* kernel: take bcm47xx_nvram.h from kernel and not backportsJohn Crispin2016-03-011-49/+0
| | | | | | | | | | | | | | | | | | | | | compat-wireless/backports now contains a bcm47xx_nvram.h file to backport some of the functions in it which are used by the bcmfmac driver. This file just checks for the kernel versions and provide an empty implementations on older kernel versions. This is OK on most systems, but on bcm47xx / bcm53xx systems we want to call the real functions here. This commit removes the file from backports in our build process like we do it with the bcma and ssb header files. Instead we add a recent version into our kernel so all code uses only one header file. On bcm47xx / bcm53xx the real implementations of this code will be used. Reported-by: Hante Meuleman <meuleman@broadcom.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> [Backport of r47467. The recent mac80211 backport was missing this patch, breaking the build of the brcmfmac module] Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48831 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update SPROM driver to include just-sent patchRafał Miłecki2015-06-211-44/+9
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46086 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update NVRAM driver to MIPS version from upstream-sfrRafał Miłecki2015-06-101-21/+16
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45943 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update NVRAM driver to support getting contentsRafał Miłecki2015-06-052-15/+60
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45907 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sync NVRAM and SPROM drivers with upstream versionRafał Miłecki2015-05-132-15/+27
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45678 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sprom: sync with mainline driverRafał Miłecki2015-04-021-396/+387
| | | | | | | | | The main difference now is bcm53xx registering it as platform (DT) driver. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sprom: simplify reading NVRAM after last backportsRafał Miłecki2015-04-021-38/+3
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45229 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use bcm47xx_nvram.c with the latest patchesRafał Miłecki2015-04-011-23/+16
| | | | | | | | This will be hopefully a mainline version. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: support NVRAM prefixes with extra / in devpathRafał Miłecki2015-03-141-5/+9
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44755 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix typo in bcm47xx sprom driverRafał Miłecki2015-03-111-1/+1
| | | | | | | | Fix thinko' in the bcm47xx sprom driver. Signed-off-by: Ian Kent <raven@themaw.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sprom: extract for PCI hostRafał Miłecki2015-02-161-0/+31
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44464 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sprom: prepare to support other hosttype-sRafał Miłecki2015-02-161-1/+8
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44463 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: backport spi-nor changes and update bcm53xxspiflashRafał Miłecki2014-12-171-0/+227
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43738 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: backport NVRAM driver sent upstreamRafał Miłecki2014-12-105-228/+255
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43612 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use bcma callback in SPROM driver to fill the SPROMRafał Miłecki2014-12-101-10/+22
| | | | | | | | | | This is required because it has to be called at very precise moment. See comment in driver for details. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use static NVRAM pointer for nowRafał Miłecki2014-12-102-19/+6
| | | | | | | | | This will allow us to sync with code sent for upstream. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43608 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: clean up nvram headerRafał Miłecki2014-12-103-32/+27
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43606 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: move SPROM driver to the target filesRafał Miłecki2014-12-101-0/+690
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43604 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: move NVRAM driver to the target filesRafał Miłecki2014-12-101-0/+215
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43603 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: move NVRAM header to the target filesRafał Miłecki2014-12-101-0/+66
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43602 3c298f89-4303-0410-b956-a3cf2f4a3e73