aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* brcm63xx: fix BCM96318MVWG LEDsFlorian Fainelli2014-01-1518-26/+25
| | | | | | | | Power LED is not active low, and ppp-fail is red, not green. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39294 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: remove config-3.11Florian Fainelli2014-01-151-150/+0
| | | | | | | | This was not supposed to be committed, remove it. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: 96368MVWG supports USB gadget, enable itFlorian Fainelli2014-01-1419-25/+183
| | | | | | | | | Enable the use of the USB gadget device at the board level so we can use bcm63xx_udc on this board. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39292 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: replace gadget driver build fix with upstream submissionFlorian Fainelli2014-01-141-4/+45
| | | | | | | | | 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
* gpio-button-hotplug: add wwan buttonHauke Mehrtens2014-01-142-2/+2
| | | | | | | | | | | | The wimax key will be used as a generic wwan key starting with Linux 3.13. The brcm47xx target uses this key for the 3g buttons. Also remove the ifdef around KEY_WPS_BUTTON, this is in the kernel for a long time now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39290 3c298f89-4303-0410-b956-a3cf2f4a3e73
* packages: kernel: reverse kernel dependencies logicHauke Mehrtens2014-01-142-2/+2
| | | | | | | | | This will select the correct dependencies also for more recent kernel versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39289 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix mcast_rate settingJohn Crispin2014-01-141-1/+1
| | | | | | | | | | Introduced by ("netifd: add wireless configuration support and port mac80211 to the new framework") Reported-by: René van Weert <r.vanweert@sowifi.com> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [modules] ipt-tproxy: nf_tproxy_core was moved out of 3.12, adding a check ↵Zoltan HERPAI2014-01-141-1/+1
| | | | | | | | | | for kernel version Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39287 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: add support for the BCM96318REF_P300 boardFlorian Fainelli2014-01-141-0/+104
| | | | | | | | | 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
* busybox: enable the devmem appletFlorian Fainelli2014-01-141-1/+1
| | | | | | | | | | The devmem applet allows poking at HW registers and as such is a valuable tool to have to avoid recompiling kernels or resorting to external HW adapters to modify HW behavior. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39285 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39284 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: package the USB gadget module (bcm63xx_udc)Florian Fainelli2014-01-141-0/+16
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39281 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: target supports USB gadget devicesFlorian Fainelli2014-01-141-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39279 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39277 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: fix image generationZoltan HERPAI2014-01-131-0/+1
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39276 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [modules]: fix 3.12 dependenciesZoltan HERPAI2014-01-131-1/+1
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39275 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39273 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39272 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39271 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39269 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39268 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39267 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39266 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39265 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39264 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: various changesZoltan HERPAI2014-01-1210-9/+201
| | | | | | | | | | | | | | - rename hstimer DT on sun5i to avoid confusion - add Cubietruck support - select watchdog by default - select rtc in profiles where appropriate - cosmetic changes Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39263 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [packages] uboot-sunxi: - add support for CubietruckZoltan HERPAI2014-01-121-5/+9
| | | | | | | | | | - cosmetic change: have the options listed alphabetically Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39261 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove empty directoriesHauke Mehrtens2014-01-120-0/+0
| | | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39260 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: remove empty directoriesHauke Mehrtens2014-01-120-0/+0
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39259 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-diag: remove devices already supported by the kernelHauke Mehrtens2014-01-121-741/+2
| | | | | | | | | | | | | This driver will soon be removed completely and the scripts are already using the new API. This also removes bcm57xx_init() which restarts the switch and is now done by b53. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39257 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39256 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39255 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39254 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39253 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add new led and button supportHauke Mehrtens2014-01-1221-20/+2555
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: update some patches to versions in linux mainlineHauke Mehrtens2014-01-1210-151/+315
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39251 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm74xx: fix patch for BCM4706 CPUsHauke Mehrtens2014-01-123-15/+46
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39250 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39249 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: don't build mkhilinkfw untilt he ssl header dependency is resolvedJohn Crispin2014-01-122-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39247 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: welcome to 2014John Crispin2014-01-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39246 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix eeprom loadingJohn Crispin2014-01-121-1/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39245 3c298f89-4303-0410-b956-a3cf2f4a3e73