aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
...
* brcm63xx: enable 6318 supportFlorian Fainelli2014-01-141-1/+1
| | | | | | | | BCM6318 support is usable enough to be enabled by default, turn it on. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39284
* brcm63xx: add basic support for the BCM96318REF boardFlorian Fainelli2014-01-142-2/+107
| | | | | | | | | | | 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> SVN-Revision: 39283
* brcm63xx: improve BCM6318 supportFlorian Fainelli2014-01-143-1/+131
| | | | | | | | | | | | | 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> SVN-Revision: 39282
* brcm63xx: package the USB gadget module (bcm63xx_udc)Florian Fainelli2014-01-141-0/+16
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39281
* brcm63xx: target supports USB gadget devicesFlorian Fainelli2014-01-141-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39280
* brcm63xx: fix USB gadget build failure after 6345 EthernetFlorian Fainelli2014-01-141-0/+127
| | | | | | | | | | 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> SVN-Revision: 39279
* brcm63xx: allow HSSPI registration on 6318Florian Fainelli2014-01-141-0/+11
| | | | | | | | | 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> SVN-Revision: 39278
* brcm63xx: fix build failure on varidFlorian Fainelli2014-01-142-2/+2
| | | | | | | | | 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> SVN-Revision: 39277
* sunxi: fix image generationZoltan Herpai2014-01-131-0/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39276
* brcm63xx: fix ohci frame number offsetJonas Gorski2014-01-131-0/+31
| | | | | | | | | | | | 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> SVN-Revision: 39274
* brcm63xx: fix spi flash setup on (at least) some reference boardsJonas Gorski2014-01-1311-168/+194
| | | | | | | | | 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> SVN-Revision: 39273
* brcm63xx: add initial support for BCM6318Jonas Gorski2014-01-1311-17/+1123
| | | | | | | | | Add inital support for BCM6318, but keep it disabled for now until most things are supported. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39272
* brcm63xx: add initial support for BCM63268Jonas Gorski2014-01-1314-15/+978
| | | | | | | | | 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> SVN-Revision: 39271
* brcm63xx: fix the pcie window sizeJonas Gorski2014-01-131-0/+20
| | | | | | | | | 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> SVN-Revision: 39270
* brcm63xx: add support for chip variantsJonas Gorski2014-01-138-4/+258
| | | | | | | | | | | | 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> SVN-Revision: 39269
* brcm63xx: remove non runtime detect and refresh affinity patchesJonas Gorski2014-01-1324-752/+1368
| | | | | | | | | | 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> SVN-Revision: 39268
* brcm63xx: update bmips patches with upstream submissionJonas Gorski2014-01-1323-268/+683
| | | | | | | | | Update bmips cleanup patches with upstream submission and backport a few bmips fixes. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39267
* brcm63xx: spi flash on legacy spi controller needs the workaroundJonas Gorski2014-01-132-2/+5
| | | | | | | | | 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> SVN-Revision: 39266
* brcm63xx: fix legacy spi tranfers >= 256 bytesJonas Gorski2014-01-132-0/+57
| | | | | | | | | Fixes e.g. SPI flash access on BCM6358/BCM6368. Transfers < 256 bytes are not affected. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39265
* brcm63xx: update HSSPI driver with upstream submissionJonas Gorski2014-01-1329-672/+686
| | | | | | | | | 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> SVN-Revision: 39264
* sunxi: various changes - rename hstimer DT on sun5i to avoid confusion - add ↵Zoltan Herpai2014-01-1210-9/+201
| | | | | | | | Cubietruck support - select watchdog by default - select rtc in profiles where appropriate - cosmetic changes Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39263
* x86: remove unused code for kernel 3.7Hauke Mehrtens2014-01-1211-1489/+0
| | | | | | | | There are no generic patches for kernel 3.7 any more, remove this stuff. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39262
* brcm47xx: add brcmsmac + bgmac profileHauke Mehrtens2014-01-121-0/+20
| | | | | | | Signed-off-by: Cody P Schafer <devel@codyps.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39258
* brcm47xx: parse model from cpuinfoHauke Mehrtens2014-01-121-3/+2
| | | | | | | | | Instead of looking into the proc entry provided by broadcom-diag use the board info from /proc/cpuinfo to get the board we are on. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39256
* brcm47xx: fix led indicationHauke Mehrtens2014-01-121-16/+26
| | | | | | | | | Use the new led api also on brcm47xx. The led for failsafe indication is searched for. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39255
* brcm47xx: fix network failsafe indicationHauke Mehrtens2014-01-123-75/+18
| | | | | | | | | | Remove the code used on the old switch driver. The Ethernet drive is loaded as a module and needs some time to get up therefor we added some wait function. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39254
* brcm47xx: do not use broadcom-diagHauke Mehrtens2014-01-121-1/+3
| | | | | | | | | This makes brcm47xx target use the default gpio led and button driver and not broadcom-diag any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39253
* brcm47xx: add new led and button supportHauke Mehrtens2014-01-1221-20/+2555
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39252
* brcm47xx: update some patches to versions in linux mainlineHauke Mehrtens2014-01-129-115/+315
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39251
* brcm74xx: fix patch for BCM4706 CPUsHauke Mehrtens2014-01-123-15/+46
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39250
* brcm47xx: update mtd driversHauke Mehrtens2014-01-127-35/+154
| | | | | | | | This backports some patches from linux upstream. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39249
* ralink: don't build mkhilinkfw untilt he ssl header dependency is resolvedJohn Crispin2014-01-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39248
* mpc85xx: preallocate SPI transfer bufferGabor Juhos2014-01-121-0/+143
| | | | | | | | | This helps to avoid high order alloction failures. Closes #14702. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39247
* ralink: fix eeprom loadingJohn Crispin2014-01-121-1/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39245
* ralink: fix WHR-600D and WHR-300HP image generationJohn Crispin2014-01-121-4/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39241
* ralink: fix WHR-600D pcie supportJohn Crispin2014-01-121-0/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39240
* ralink: add HLK-RM04 supportJohn Crispin2014-01-1211-2/+152
| | | | | | | | https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39237
* ralink: switch to askconsoleJohn Crispin2014-01-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39236
* ralink: fix uartf memory range sizeJohn Crispin2014-01-121-0/+11
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39235
* ralink: honour memory@0 nodeJohn Crispin2014-01-121-0/+34
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39234
* ralink: fix rt5350 ethernetJohn Crispin2014-01-121-3/+15
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39233
* lantiq: improve Arcadyan ARV4510PW supportJohn Crispin2014-01-123-37/+135
| | | | | | | | | Arcadyan ARV4510PW has already a build profile in OpenWrt, but it is severely lacking. This patch brings it up-to-date. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 39230
* sunxi: various changes - let LBDAF be set by generic config - add high-speed ↵Zoltan Herpai2014-01-116-4/+425
| | | | | | | | timer support - refresh sun5i USB patch Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39223
* sunxi: add support for Olinuxino A10 LIMEZoltan Herpai2014-01-114-0/+199
| | | | | | | Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39222
* kernel: update 3.10 to 3.10.26Gabor Juhos2014-01-1153-378/+208
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39220
* ar71xx: ag71xx: increase calculated max frame length valueGabor Juhos2014-01-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The r39147 commit introduces a regression: at lease on some routers with ar8216 switch large packets get lost if 802.1q tagged port is used on the interface connected to the aforementioned switch. The r39147 changes code in the way so interface is set to accept packets no longer than max ethernet frame length for a given mtu. Unfortunately ar8216 has a feature: it sends two additional bytes as a packet header and those this header needs to be added to the max frame length. Otherwise long enough packets get lost. The problem only manuifests itself if interface is used in vlan tagged mode. If interface is untagged then ar8216's header fits into space used by 802.1q tag and not packets are lost. Include two additional bytes in the max frame length calculation to fix the issue. This patch is tested and works with Trendnet TEW-632BRP. Signed-off-by Nikolay Martynov <mar.kolya@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4656/ [juhosg: - simplify the patch to include the additional bytes of the switch header unconditionally, - change subject and update commit message] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39219
* sunxi: add/refresh patches for cubieboard2Zoltan Herpai2014-01-104-0/+151
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39218
* ar71xx: my net n750: simplify LNA GPIO setupGabor Juhos2014-01-101-6/+2
| | | | | | | | | Use the ath79_wmac_set_ext_lna_gpio helper instead of exporting the GPIOs. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39217
* ar71xx: my net n600: simplify LNA GPIO setupGabor Juhos2014-01-101-6/+2
| | | | | | | | | Use the ath79_wmac_set_ext_lna_gpio helper instead of exporting the GPIOs. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39216
* ar71xx: add a helper function for external LNA GPIO setupGabor Juhos2014-01-102-1/+79
| | | | | | | | | | | | | | The built-in wireless MAC of the AR934x SoC can handle external LNAs and the control signal of the LNAs can be routed to any GPIO line. Add a helper function which can be used to configure the GPIO lines. The helper function will be used for AR934x boards which are using externel LNAs to improve sensitivity. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39215