summaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/files
Commit message (Collapse)AuthorAgeFilesLines
* bcm53xx: update copy of ASM entry flushing whole D-cacheRafał Miłecki2016-08-191-15/+29
| | | | | | | | | | | Previous version was based on code from kernel 2.6.22 with Broadcom two trivial modifications. This updates the copy to the version from current kernel and refreshes the patch. This was tested for regressions on Netgear R6250 (BCM4708A0), D-Link DIR-885L (BCM4709C0) and Tenda AC9 (BCM47189B0). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: switch back to standalone ASM entry flushing cacheRafał Miłecki2016-08-191-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Over a year ago in a commit ac96a1665ac7 ("bcm53xx: update Disable MMU and Dcache during decompression") we switched to Florian's patch for workarounding CFE bug. The main difference was using a part of existing __armv7_mmu_cache_flush instead of implementing flushing separately. This worked well for Northstar devices but doesn't work for BCM53573 as these devices simply don't start booting with Florian's patch. It's because of the ldmfd ASM instruction in the __armv7_mmu_cache_flush. So this commit switches back to using standalone implementation. This time instead of copying Broadcom's copy of cache-v7.S, we just make a copy of the original file on our own. Unfortunately we can't cross-dir compile cache-v7.S from ../../mm/ as that one also adds __INITDATA with define_cache_functions v7 which would just trigger > Error: unrecognized/unsupported machine ID (r1 = 0x0000007f). The only real change Broadcom did in copied .S file was modifying mcr instruction to use c6 instead of c14. It isn't clear to me if we really need it, but let's use it for now. By the way we also update commit message of the [PATCH] ARM: BCM5301X: Disable MMU and Dcache during decompression This makes kernel booting on BCM53573 successfully. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: update bcm47xx_sprom to the latest 4.6 queued versionRafał Miłecki2016-03-081-6/+6
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48963
* bcm53xx: use SPROM driver queued for 4.6Rafał Miłecki2016-03-061-60/+106
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48935
* bcm53xx: update bcm53xxspiflash to match spi-nor backported from 4.4-rc1Rafał Miłecki2015-11-261-8/+5
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47653
* bcm53xx: add support basic for kernel 4.3Hauke Mehrtens2015-10-254-309/+0
| | | | | | | | | | | The files directory is now split up into the files which are needed for every kernel version and the files only needed by kernel 4.1. The files in files-4.1 are already merged into mainline kernel 4.3. This patch only removed patches which were merged into mainline kernel 4.3. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47251
* bcm53xx: allow device tree to override SPI flash partition layoutFelix Fietkau2015-07-311-2/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46538
* bcm53xx: update SPROM driver to include just-sent patchRafał Miłecki2015-06-211-44/+9
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46086
* 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> SVN-Revision: 45943
* bcm53xx: update NVRAM driver to support getting contentsRafał Miłecki2015-06-052-15/+60
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45907
* bcm53xx: sync NVRAM and SPROM drivers with upstream versionRafał Miłecki2015-05-132-15/+27
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45678
* 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> SVN-Revision: 45230
* bcm53xx: sprom: simplify reading NVRAM after last backportsRafał Miłecki2015-04-021-38/+3
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45229
* 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> SVN-Revision: 45204
* bcm53xx: support NVRAM prefixes with extra / in devpathRafał Miłecki2015-03-141-5/+9
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44755
* 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> SVN-Revision: 44679
* bcm53xx: sprom: extract for PCI hostRafał Miłecki2015-02-161-0/+31
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44464
* bcm53xx: sprom: prepare to support other hosttype-sRafał Miłecki2015-02-161-1/+8
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44463
* bcm53xx: backport spi-nor changes and update bcm53xxspiflashRafał Miłecki2014-12-171-0/+227
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43738
* bcm53xx: backport NVRAM driver sent upstreamRafał Miłecki2014-12-105-228/+255
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43612
* 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> SVN-Revision: 43611
* 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> SVN-Revision: 43608
* bcm53xx: clean up nvram headerRafał Miłecki2014-12-103-32/+27
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43606
* bcm53xx: move SPROM driver to the target filesRafał Miłecki2014-12-101-0/+690
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43604
* bcm53xx: move NVRAM driver to the target filesRafał Miłecki2014-12-101-0/+215
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43603
* bcm53xx: move NVRAM header to the target filesRafał Miłecki2014-12-101-0/+66
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43602