summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx
AgeCommit message (Collapse)Author
2014-01-14brcm63xx: replace gadget driver build fix with upstream submissionflorian
Also fixing a build warning due to a misplaced parenthesis in the previous submission. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14brcm63xx: add support for the BCM96318REF_P300 boardflorian
Very similar to the BCM96318REF board except for the name and the SDRAM/DDR configuration which is totally transparent for us. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14brcm63xx: enable 6318 supportflorian
BCM6318 support is usable enough to be enabled by default, turn it on. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14brcm63xx: add basic support for the BCM96318REF boardflorian
Add basic support for the BCM96318REF board which is comprised of: - HS-SPI flash support - Ethernet switch support - USB slave device support Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14brcm63xx: improve BCM6318 supportflorian
Provide clock toggling for the USB host and slave controller as well as for the Ethernet Switch. The bcm63xx_enetsw driver is changed not to use request_mem_region() as the Roboswitch register overlaps with the Roboswitch IUDMA channels, hence making the driver return -EBUSY. A future fix might be to use variable size RSET_ENETSW sizes depending on the chip we are targetting. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14brcm63xx: package the USB gadget module (bcm63xx_udc)florian
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14brcm63xx: target supports USB gadget devicesflorian
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14brcm63xx: fix USB gadget build failure after 6345 Ethernetflorian
While adding support for BCM6345 Ethernet, some changes in the macros ENETDMA{C,S} where introduced which now make the bcm63xx USB gadget driver fail to build. Fix this. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14brcm63xx: allow HSSPI registration on 6318florian
A missing condition check in dev-hsspi.c prevented the controller from being registered on 6318 where it is fully functional. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14brcm63xx: fix build failure on varidflorian
varid might both unused and unitialized when building for e.g: bcm6318, fix these two warnings turned into errors. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13brcm63xx: fix ohci frame number offsetjogo
BCM63XX's ohci controller does not need the frame number shift, but that was guarded with a PPC symbol. Fix this by making the no-fix generally available. This is a regression from the previous conversion to ohci platform driver. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13brcm63xx: fix spi flash setup on (at least) some reference boardsjogo
CFE seems to leave the SPI flash mapping in an invalid state after loading the kernel on some reference boards, so fix it up on boot. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13brcm63xx: add initial support for BCM6318jogo
Add inital support for BCM6318, but keep it disabled for now until most things are supported. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13brcm63xx: add initial support for BCM63268jogo
Add initial support for the BCM63268 family of SoCs, but keep it disabled for now as most things don't work yet. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13brcm63xx: fix the pcie window sizejogo
The low PCIe window on BCM6328 and BCM6362 is actually only 1 MiB big, not 16 MiB. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13brcm63xx: add support for chip variantsjogo
Some SoCs have variants which are mostly the same, but use a different chip id (or not). Add code for detecting them and handling them as their standard counterparts. This adds support for e.g. BCM6369. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13brcm63xx: remove non runtime detect and refresh affinity patchesjogo
Remove the non runtime detect code since its effectiveness is dubious and almost never used. Also update affinity patches to work on top of it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13brcm63xx: update bmips patches with upstream submissionjogo
Update bmips cleanup patches with upstream submission and backport a few bmips fixes. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13brcm63xx: spi flash on legacy spi controller needs the workaroundjogo
Fixes generic SPI flash accesses on BCM6358/BCM6368. BCM6338 still needs additional fixes for M25P80, so it remains broken for now. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13brcm63xx: fix legacy spi tranfers >= 256 bytesjogo
Fixes e.g. SPI flash access on BCM6358/BCM6368. Transfers < 256 bytes are not affected. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13brcm63xx: update HSSPI driver with upstream submissionjogo
Update the HSSPI driver with the upstream submitted one that has a workaround for the auto cs down issue. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-11kernel: update 3.10 to 3.10.26juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15kernel: update kernel 3.10 to 3.10.24hauke
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-01kernel: update 3.10 to 3.10.21juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-05kernel: update 3.10 to 3.10.18juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23kernel: update 3.10 to 3.10.17juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-13kernel: update kernel to 3.10.15hauke
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27kernel: update 3.10 to 3.10.13juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25kernel: b53: add Register Access Bridge Registers (SRAB) interfacehauke
The SRAB interface is used on BCM4707 and BCM5301X SoCs. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15kernel: update 3.10 to 3.10.12juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-06brcm63xx: drop linux 3.9 supportjogo
It is EOL since quite a while, so no need to keep it around. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-06brcm63xx: switch to linux 3.10jogo
3.10 is stable enough, and 3.9 is EOL since a while. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-23kernel: update 3.10 to 3.10.9juhosg
Also refresh 3.10 patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-22kernel: update 3.9 to 3.9.11juhosg
Also refresh 3.9 patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-20brcm63xx: add linux 3.10 supportjogo
Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-15bcm63xx: update ralink wlan firmware hotplug script for new eeprom sizenbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-13kernel: update to kernel 3.9.10 and refresh patcheshauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30kernel: update linux 3.9 to 3.9.8jogo
Includes memory allocation fixes as well as several networking fixes. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30brcm63xx: Fixes and additions to the GPIO assignment of Huawei HW556 ledsjogo
- Some fixes for the incorrect GPIO assignment of leds on Huawei HW556. - Addition of unassigned (LAN) leds which can be found on the back of the device. Signed-off-by: Angga Reza Fardana <angga@norture.com> Patchwork: http://patchwork.openwrt.org/patch/3744/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30bcm63xx: Improve CFE version mod patch.jogo
Fix "cfe-" string length copy. Check if there's an extra byte a.b.c-d.e / a.b.c-d.e-f. Add support for Huawei CFE versions ("cfe-vd"). Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3766/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30bcm63xx: enable all SoCs for both subtargetsjogo
Now that SMP kernels also work on older SoCs, also enable them for SMP. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30bcm63xx: make smp kernels boot on older SoCsjogo
Enhance BMIPS support so SMP kernels work on older chips. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30bcm63xx: update patchesjogo
Update patches with their upstream versions. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-27targets: prepare for supporting normal and initramfs imagesflorian
In order to support both normal images and initramfs, ensure that each target sets KERNELNAME properly so that the generic kernel building code can copy the corresponding files over $(KDIR) with the appropriate extension. Update the various paths to the kernel and wrapper images from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo). Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-24bcm63xx: fix DSL-274xB F1 default network configjogo
Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21base-files: input/button drivers get loaded before preinit by procdblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21base-files: diag does not need to insmod any drivers, procd already did it ↵blogic
for us Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-20brcm63xx: reduce the number of Ethernet DMA channels from 16 to 8florian
We currently used 16 DMA Ethernet channels, but the hardware only supports up to 8 (with 2 per enet and the remaining for USB slave). Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18brcm63xx: refresh 3.9 patchesflorian
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18brcm63xx: provide a default sane MAC address for Cable Modem devicesflorian
Cable modem devices currently poke at some random location in RAM and may end up having an invalid MAC address which is not suitable. Provide a default one which is sane. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36957 3c298f89-4303-0410-b956-a3cf2f4a3e73