aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.14/100-board.patch
Commit message (Collapse)AuthorAgeFilesLines
* atheros: remove linux 3.14Felix Fietkau2015-03-131-2768/+0
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44734
* atheros: convert AR2315 GPIO code to platform driverJohn Crispin2014-09-121-168/+7
| | | | | | | | | | | Convert gpiolib realization to platform driver and move to the appropriate subdirectory. Misc GPIO interrupt acknowledgement placed to the MISC IRQ handler since in fact we can detect only one GPIO state change. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42512
* atheros: convert AR5312 GPIO code to platform driverJohn Crispin2014-09-121-74/+2
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42511
* atheros: rework chained interrupts handlingJohn Crispin2014-09-121-46/+46
| | | | | | | | | | Call generic_handle_irq() instead of do_IRQ() for chained interrupts, remove XXX_NONE interrupts and call spurious_interrupt() when an interrupt is unexpected. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42510
* atheros: convert gpio.h to stubJohn Crispin2014-09-121-24/+12
| | | | | | | | | Implement to_irq() handler for AR2315 GPIO chip and convert custom gpio.h header to stub. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42509
* atheros: rename SoCs config symbolsJohn Crispin2014-09-121-8/+8
| | | | | | | | | Rename config symbols to be consistent with other SoCs config symbols supported by MIPS arch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42508
* atheros: add AR2316 and AR2318 SoCs detectionJohn Crispin2014-09-121-4/+12
| | | | | | | | | Tested with AR2315, AR2316 and AR2317 SoCs, not tested with AR2318 but changes seems correct: revision is one more than AR2317. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42507
* atheros: ar2315-pci: update DMA offset macrosesJohn Crispin2014-09-121-12/+17
| | | | | | | | Remove duplicated macroses, which define DMA offset (SDRAM baseaddress). Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42504
* atheros: ar2315-pci: update host bridge resourcesJohn Crispin2014-09-121-1/+2
| | | | | | | | | | It seems that the PCI controller does not support I/O ports, so remove the ports range. Also correct the beginning of the memory range and its size. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42503
* atheros: ar2315-pci: rework interrupt handlingJohn Crispin2014-09-121-20/+30
| | | | | | | | | | | | | Add PCI IRQ controller to facilitate interrupt handling, move interrupts initialization to the IRQ controller initialization from pcibios_plat_dev_init() callback. Also remove odd PCI dev configuration manipulation from pcibios_plat_dev_init() callback. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42501
* atheros: remove odd ATHEROS_AR2315 config symbol dependenciesJohn Crispin2014-09-121-8/+1
| | | | | | | | | Remove options which already selected by ATHEROS_AR231X on which ATHEROS_AR2315 depends. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42497
* atheros: various space related changesJohn Crispin2014-09-121-35/+16
| | | | | | | | | | | | - remove odd blank lines - remove odd spaces after casts - fix alignment No functional changes. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42496
* atheros: rework and cleanup board initializationJohn Crispin2014-09-121-85/+52
| | | | | | | | | | | | | | - remove odd flags and branching - add __init mark - make shorter variables names - returns true or false from boolean functions - unwrap short function declarations - unwrap quoted string - rename macroses with names in CamelCase Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42495
* atheros: update ether addresses handlingJohn Crispin2014-09-121-14/+13
| | | | | | | | | - use ether_foo() routines to work with addresses - use ETH_ALEN inplace of magic '6' Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42494
* atheros: remove useless returnJohn Crispin2014-09-121-2/+1
| | | | | | | | Remove useless void function return. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42488
* atheros: add blank line after declarationsJohn Crispin2014-09-121-6/+11
| | | | | | | | as suggested by checkpach. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42486
* atheros: use NULL instead of plain integerJohn Crispin2014-09-121-1/+1
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42484
* atheros: add missing includeJohn Crispin2014-09-121-2/+6
| | | | | | | | | Missing this headers cause several sparse "symbol 'foo' was not declared. Should it be static?" warnings. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42483
* atheros: avoid extern prototypesJohn Crispin2014-09-121-17/+16
| | | | | | | | Avoid using of extern prototypes as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42482
* atheros: copy 3.10 patches to 3.14 and refresh themFelix Fietkau2014-08-041-0/+3042
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41995