aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* lantiq: add xway_legacy targetJohn Crispin2016-06-135-62/+116
| | | | | | due to bloat recent builds fail to fit into the flash of the old danube units Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: gpio-export fails to build if GPIO_SYSFS is not enabledJohn Crispin2016-06-131-7/+11
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: mach-ubnt-xm.c convert patches to mach fileArne Zachlod2016-06-134-773/+701
| | | | Signed-off-by: Arne Zachlod <arne@nerdkeller.org>
* ramips/image: Add Archer C50 to mt7620 MakefileHenryk Heisig2016-06-131-0/+9
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips/base-files: Add support for Archer C50Henryk Heisig2016-06-135-1/+16
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips/dts: Add support for Archer C50Henryk Heisig2016-06-131-0/+156
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* lantiq: Add Support for Fritz!Box 7360 SLJohn Crispin2016-06-135-0/+233
| | | | | Signed-off-by: Sebastian Ortwein <krone@animeland.de> Tested-by: Guido Lipke <lipkegu@gmail.com>
* ramips: add support for DuZun DM06Michael Lee2016-06-135-0/+171
| | | | | | | | DuZun DM06 is a develop board based on mt7628 64M RAM, 8M SPI Flash, 1 WAN, 1 LAN. wm8960 codec with line out, line in and speaker output. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: enable wm8960 kernel menuconfig select optionMichael Lee2016-06-131-0/+11
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: add i2s clocksMichael Lee2016-06-131-3/+30
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: update i2s dtsi filesMichael Lee2016-06-137-5/+111
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: improve i2s driversMichael Lee2016-06-131-461/+742
| | | | | | | | | | | | | | | * remove mt7620-wm8960.c use simple card and DTS to do it * add old chips support * add 12Mhz refclk setup. this is hard code. need use clock framework rewrite it * add interrupt error status support for debug. default disable it. because it cause to many interrupts * add setup bclk suport not hard code it * add 24 bits support for mt7628. not verified * use regmap api to control registers * add txdma-req/rxdma-req DTS params for DMA use Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: add i2c clockMichael Lee2016-06-131-0/+40
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: update i2c dtsi filesMichael Lee2016-06-138-17/+127
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: update i2c driversMichael Lee2016-06-132-371/+611
| | | | | | | | | | | | | | | | | * add rt_i2c structure to store driver data * rewrite read/write check function and add i2c error status check. so we don't need to wait until time out. * add 10 bits address support. according to the data sheet i think it is possible. but i haven't verify it. * the most important is start transfer only need once. otherwise it cause I2C_STARTERR status. * add set i2c clock speed register by dts options "clock-frequency". not just hard code it. * add mt7621 i2c driver. i just copy i2c-ralink.c and change register names. and the hardware don't support error status. so i remove it. but the logic is the same. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: add gdma hsdma dts infoMichael Lee2016-06-137-2/+104
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: enhance dma engine supportMichael Lee2016-06-131-211/+1339
| | | | | | | | | | | | | | * fix compiler error. device_control operation not support now. * add old chips support 8 channels. new chips support 16 channels. * add mt7621 hsdma driver. data sheet says it has two channels. but after test only one channel support. * add memory to memory DMA support. i use dmatest kernel module to verify this function. on rt305x it will copy more data. on mt7621 only two channels can works at the same time. these two chips maybe have hardware bugs. because on other chips don't have these bugs. * use tasklet to handle remaining dma requests. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ipq806x: move dts file to the files folderJohn Crispin2016-06-138-1173/+1528
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ipg806x: set v4.4 as defaultJohn Crispin2016-06-1380-21248/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ipq806x: add mangle bootargs options in config-4.4Adrian Panella2016-06-131-1/+4
| | | | | | Add config options to manage dual boot partitions, using MANGLE BOOTARGS Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* ipq806x: base-files: add support for Linksys EA8500Adrian Panella2016-06-138-0/+142
| | | | Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* ipq806x: build Linksys EA8500 imagesJohn Crispin2016-06-131-1/+18
| | | | Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* ipq806x: qcom rpm fix support for smb208Adrian Panella2016-06-132-0/+124
| | | | | | | | | In commit "regulator: qcom: Rework to single platform device" the smb208 regulator used in IPQ8064 was left out. Add it to that new framework and update Docs and DT accordingly. Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* uboot-envtools: add ipq806x supportJohn Crispin2016-06-131-1/+2
| | | | Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* lantiq: use new property name for eiu irqsJohn Crispin2016-06-134-4/+4
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: fix a regression in the eiu irq loading codeJohn Crispin2016-06-131-0/+78
| | | | | | | | | this worked in 3.18 but broke at some point. the old code that loaded a irq table was incorrewct anyhow as it mapped the irqs int he domain which should really be done when the driver using them loads them and not the irq driver itself. Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: add default lan setup to board.d scriptJohn Crispin2016-06-131-0/+3
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* bcm53xx: sysupgrade: move TRX specific code to separated functionRafał Miłecki2016-06-131-14/+20
| | | | | | | This will allow adding support for other formats (e.g. Seama) in a clean way. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* ar71xx: enable flow control for ethernet MACs with built-in switchFelix Fietkau2016-06-131-1/+9
| | | | | | Should fix LAN speed issues on some devices Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: add VLAN handling fixes to xrx200 ethernet driverFelix Fietkau2016-06-131-17/+37
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: fold 0400-xrx200-net-multi-phy.patch into ↵Felix Fietkau2016-06-132-39/+9
| | | | | | 0025-NET-MIPS-lantiq-adds-xrx200-net.patch Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.13Álvaro Fernández Rojas2016-06-1224-310/+54
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* lantiq: change xrx200 ethernet driver WRED signal to global to fix spurious ↵Felix Fietkau2016-06-121-3/+4
| | | | | | packet loss issues Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: require admin permissions for swconfig set operationsFelix Fietkau2016-06-121-0/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: merge pending fq_codel backlog accounting fixFelix Fietkau2016-06-114-4/+74
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: enable swconfig LED supportFelix Fietkau2016-06-111-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: enable SMP for XRX200Felix Fietkau2016-06-111-0/+19
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: add Buffalo WBMR-300HPD supportFelix Fietkau2016-06-115-0/+328
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: refresh xrx200 kernel configFelix Fietkau2016-06-111-29/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: remove dummy ltq_machine_power_off to fix gpio-poweroff driversFelix Fietkau2016-06-111-0/+23
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix mips MT_SMP kernel crash on cache flushFelix Fietkau2016-06-111-0/+17
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: pass datasize to mtd in hexadecimal formatRafał Miłecki2016-06-111-2/+1
| | | | | | This avoids extra calculation in bash script. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: fix partition typos in 09_fix_crcRafał Miłecki2016-06-111-1/+1
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* kernel: deny swconfig set requests for unprivileged usersJo-Philipp Wich2016-06-111-0/+3
| | | | | | | | | | | | | | | | | The swconfig kernel infrastructure fails to do any permissions checks when changing settings. As such an ordinary user account on a device with a switch can change switch settings without any special permissions. Routers generally have few non-admin users so this isn't a big hole, but it is a security hole. Likely the greatest danger is for multifunction devices which have a lot of extra daemons, compromising a low-security daemon would allow one to modify switch settings and cause the router/switch to appear to lock-up (or cause other sorts of troublesome nyetwork behavior). Implement a check for CAP_NET_ADMIN in swconfig_set_attr() and deny any requests originating from user contexts lacking this capability. Reported-by: Elliott Mitchell <ehem+openwrt@m5p.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* bcm53xx: calculate TRX CRC32 using whole kernel partitionRafał Miłecki2016-06-101-1/+6
| | | | | | This provides better protection of flash data. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* mvebu: add a patch to deal with excessive latencies/delays during flash PIO ↵Felix Fietkau2016-06-101-0/+36
| | | | | | command processing Signed-off-by: Felix Fietkau <nbd@nbd.name>
* brcm2708: fix another missing kmod dependencyÁlvaro Fernández Rojas2016-06-091-1/+4
| | | | | | | kmod-sound-soc-digidac1-soundcard is also missing snd-soc-wm8804 dependency for snd-soc-wm8804-i2c Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: fix missing dependency found by buildbotÁlvaro Fernández Rojas2016-06-091-1/+4
| | | | | | Add missing dependency to kmod-sound-soc-adau1977-adc. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: update linux 4.4 patches to latest versionÁlvaro Fernández Rojas2016-06-08374-656/+8785
| | | | | | | | As usual these patches were extracted from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Also alphabetically order sound-soc kernel packages. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: take over maintainershipÁlvaro Fernández Rojas2016-06-081-1/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>