aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* atheros: v3.18: relocate PCI host DMA base definitionFelix Fietkau2015-03-131-10/+9
| | | | | | | | | | Put AR2315_PCI_HOST_SDRAM_BASEADDR macro to DMA header, since this is arbitrary value and not some hw specific constant. Also this relocation decouples dma from HW specific header. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44716 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: v3.18: rework early initializationFelix Fietkau2015-03-132-51/+40
| | | | | | | | | | Do not use prom_init() callback, do memory initialization in plat_mem_setup() callback and move serial port configuration to arch_initcall stage. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: v3.18: rearrange interrupt handling functionsFelix Fietkau2015-03-132-72/+72
| | | | | | | | No functional changes, just change functions order in source file. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44714 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: v3.18: change calls logicFelix Fietkau2015-03-134-67/+41
| | | | | | | | | | | Check SoC family (AR5312+ or AR2315+) before call instead of checking it inside the called function. Also convert ar{5312,2315}_init_device() function to void, since they both return zero and nobody care about return value. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: v3.18: update names and declarationsFelix Fietkau2015-03-136-233/+211
| | | | | | | | | | | Sync functions, variables and enums names with upstream. Mostly replace 'ar231x_' prefix by 'ath25_'. No functional changes, except few 'int' -> 'unsigned' changes. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44712 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: v3.18: cleanup cpu-feature-overrides.hFelix Fietkau2015-03-131-21/+1
| | | | | | | | Remove mention of undefined features. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44711 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: v3.18: remove eth platform device unused fieldFelix Fietkau2015-03-134-12/+8
| | | | | | | | | Ethernet controller driver don't use boarddata directly, so remove corresponding field from its platform device structure. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44710 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: v3.18: remove odd header reset.hFelix Fietkau2015-03-131-9/+0
| | | | | | | | | This header provides prototype for function without realization and users. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: v3.18: rename platform headerFelix Fietkau2015-03-134-8/+8
| | | | | | | | Rename ar231x_platform.h to ath25_platform.h Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44708 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: v3.18: rename kernel platform to ath25Felix Fietkau2015-03-136-78/+78
| | | | | | | | | | Rename platform source directory and asm includes directory. No functional changes. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44707 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: v3.18: rename ATHEROS_AR231X symbol to ATH25Felix Fietkau2015-03-1312-24/+24
| | | | | | | | | | This patch starts upsteam ath25 code backporting. No functional changes. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44706 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: add v3.18 supportFelix Fietkau2015-03-1314-0/+6590
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* glibc: make it more obvious that eglibc is a version of glibcJohn Crispin2015-03-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* glibc: remove accidentally commited folderJohn Crispin2015-03-1210-382/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44703 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: The glorious return of glibc, ver 2.21John Crispin2015-03-1236-61/+540
| | | | | | | | | | | It's the eglibc packaging with a bit of spit-polishing. And testing. :-) [blogic: merged glibc and eglibc into 1 and made eglibc a glibc variant] Signed-off-by: Jeff Waugh <jdub@bethesignal.org> Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44701 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: Minor fix for glibc 2.21 compatibilityJohn Crispin2015-03-121-1/+1
| | | | | | Signed-off-by: Jeff Waugh <jdub@bethesignal.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44700 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: bump to latest git HEADJohn Crispin2015-03-121-2/+2
| | | | | | | | this makes fstools compile with latest glibc Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44699 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: bump to latest git HEADJohn Crispin2015-03-121-2/+2
| | | | | | | | this makes procd compile with latest glibc Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44698 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix a beacon enable handling bugFelix Fietkau2015-03-121-0/+76
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44696 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport fib_trie improvements/fixes from 4.0-rcFelix Fietkau2015-03-1225-0/+6099
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44695 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: fix syscall() for syscalls with 6 arguments on PowerPCJohn Crispin2015-03-121-0/+10
| | | | | | | | | | Patch from the uClibc master. Fixes the package fastd on PowerPC. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44694 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Ext LNA patch for TUBE2H and HORNET-UB targetsJohn Crispin2015-03-122-0/+10
| | | | | | Signed-off-by: Christophe Prévotaux <c.prevotaux@rural-networks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44693 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Hornet UB GPIO WPS/ResetJohn Crispin2015-03-121-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This problem has existed at least since Attitude Adjustment and is also present in trunk. Basically on the Hornet-UB board the functionality of RESET and WPS have "switched places". There are two tickets about the issue at dev.openwrt.org, The solution suggested on them both is incomplete though and introduces the following proglem: Patching as suggested on #14136/#15282 will result in a situation where simply pressing the RESET button on the bottom will cause FACTORY RESET to be run. This is due to GPIO high/low state being incorrect as a result of the above change and virtually the RESET button is in the pressed-down state the entire time. When it is then physically pressed, that causes the opposite, release, to be triggered and since to the board it seemed that the button was pressed long before it was released, the FACTORY RESET results. The attached patch works as expected. I have verified both the incorrect functionality as well as after fixing the issue as described in the patch and flashing the resulting firmware to a Hornet-UB board. Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: resize the flash partition for FireWRTJohn Crispin2015-03-121-2/+2
| | | | | | Signed-off-by: wengbj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44691 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: MT7621 add i2c controller driverJohn Crispin2015-03-122-1/+409
| | | | | | | | ralink i2c driver is not working on MT7621 platform. Porting a new drivers from MTK's source code. Signed-off-by: daixj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44690 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: add support for 'readonly_mode'John Crispin2015-03-121-0/+3
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44689 3c298f89-4303-0410-b956-a3cf2f4a3e73
* modules: set dwc2 gadget dependency for at91John Crispin2015-03-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44688 3c298f89-4303-0410-b956-a3cf2f4a3e73
* acx-mac80211: fails to build on cobaltJohn Crispin2015-03-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44687 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cobalt: framebuffer device has movedJohn Crispin2015-03-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44686 3c298f89-4303-0410-b956-a3cf2f4a3e73
* disable silent-rules by defaultMirko Vogt2015-03-121-1/+4
| | | | | | | | | | | | OpenWrt hides verbose output by default, regardless of automake silent-rules being en-/disabled. If we enable verbose output for package builds (V=s) however, we'd like to see as most as possible. Signed-off-by: Mirko Vogt <mirko@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44685 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Do not use $(V) - force AM_V=1Mirko Vogt2015-03-121-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Projects using silent-rules might otherwise fail to compile. This is due to the following resulting Makefile code: AM_V_P = $(am__v_P_$(V)) am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) am__v_P_0 = false am__v_P_1 = : Automake directly uses $(V) for variable name expansion which fails if $(V) is set to sth. else other than '0' or '1'. This patch forces automake to not take $(V) into account but to always use the default config for verbosity. A better approach would be to actually take $(V) into account, however not just pass it through (AM_V='$(V)') but set AM_V to 0 if $V=0 / unset and to 1 otherwise. This plan however is foiled due to my frustration about automake as well as my lack of m4 skills. automake bug report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20077 Signed-off-by: Mirko Vogt <mirko@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* modules: make dwc2 only depend on gadget support for brcm2708John Crispin2015-03-111-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttp: update to latest git HEADJohn Crispin2015-03-111-2/+2
| | | | | | | | this add json-c 0.12, sorry forgot to push this earlier today Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport symbol export from r44653 to 3.14Felix Fietkau2015-03-111-0/+21
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44681 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fixup early device id 8012Rafał Miłecki2015-03-112-2/+4
| | | | | | | | Looks like the BCM53012 has a similar problem to the BCM53011. Signed-off-by: Ian Kent <raven@themaw.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44680 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
* kenrel: refresh patchesJohn Crispin2015-03-1110-270/+270
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44678 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: make the new dwc2 support only work for vr9John Crispin2015-03-111-4/+5
| | | | | | | | danube needs to be added Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44677 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Convert Zyxel P-2812HNU-FX and TP-Link TD-W8970 to support dwc2John Crispin2015-03-113-1/+19
| | | | | | | | | | | | | | Here the device tree entry for ifxhcd is listed as compatible with one supported in dwc2 (after patching the dwc driver appropriately). A second entry is added to support the second core of the hcd. This entry is listed to be compatible with only dwc2. Done this way there should be backwards support for both hcd drivers (ltq-hcd and dwc2) Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44676 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Use platform endianness when accessing dwc2 registersJohn Crispin2015-03-111-0/+3184
| | | | | | | | | | | | | | | | | | | | This patch switches calls to readl/writel to their dwc2_readl/dwc2_writel equivalents which preserve platform endianness. This patch is necessary to access dwc2 registers correctly on big endian systems such as the mips based SoCs made by Lantiq. Then dwc2 can be used to replace ifx-hcd driver for Lantiq platforms found e.g. in OpenWrt. The patch was autogenerated with the following commands: $EDITOR core.h sed -i "s/\<readl\>/dwc2_readl/g" *.c hcd.h hw.h sed -i "s/\<writel\>/dwc2_writel/g" *.c hcd.h hw.h Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44675 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add sensible hw-defaults for dwc2John Crispin2015-03-111-0/+45
| | | | | | | | | | | Lantiq driver does not work with autodetected fifo sizes so use ones from original ltq-hcd driver in dwc2. Other values can be autodetected. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44674 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Configure gpio power output pin when initializing dwc2 usbJohn Crispin2015-03-111-0/+35
| | | | | | | | | Port gpio code from original ltq-hcd driver to dwc2. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44673 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add usb initialization bits from ltq-hcd to platform initJohn Crispin2015-03-111-0/+95
| | | | | | | | | | | | | | Add VR9 specific usb initialization bits from ltq-hcd to platform initialization. This patch is more of a proof-of-concept than production quality since the initialization registers are different on other lantiq platforms. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipset: Bump to 6.24John Crispin2015-03-112-30/+2
| | | | | | | | | Included you'll find a patch to bump ipset to version 6.24. This version supports the ip,fwmark set, which is needed for mwan3 1.6. Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44671 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add missing header fileFelix Fietkau2015-03-111-0/+37
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44670 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: remove obsolete patchesFelix Fietkau2015-03-112-43/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44669 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cobalt: rename config fileJohn Crispin2015-03-111-0/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44668 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: update to latest git HEADJohn Crispin2015-03-111-1/+1
| | | | | | | | adds 3 fixes from luka Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44666 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: improve WD's My Net Wi-fi Range Extender image creationJohn Crispin2015-03-112-3/+13
| | | | | | | | | | | | | Previously, the generated images for the My Net Wi-fi Range Extender wouldn't always work (and panic) due to the fixed mtd offsets and sizes for the kernel and rootfs. This patch fixes the problem by utilizing the shared Cybertan's partition parser to recalculate the mtd partitions for every image dynamically everytime. Reported-by: Pascal Paradis <peparadis@yahoo.com> Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44665 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: generalize cybertan partition parserJohn Crispin2015-03-111-6/+0
| | | | | | | | | | By removing the NL16 signature check, the parser can be utilized by other devices like the WD My Net Wi-fi Range Extender. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44664 3c298f89-4303-0410-b956-a3cf2f4a3e73