aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* sunxi: add default interface for bananaPiZoltan Herpai2014-09-171-0/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 42606
* sunxi: add missing symbol for arch timerZoltan Herpai2014-09-171-0/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 42605
* kernel: fix backport of bcma init patchRafał Miłecki2014-09-172-0/+46
| | | | | | | | | | Upstream bcma patch: bcma: use separated function to initialize bus on SoC was backported incompletely. I missed arch code change. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42603
* sdk: predefine kernel version magicJo-Philipp Wich2014-09-171-0/+1
| | | | | | | | | | | | | | | Kernel modules which are built using the SDK do not have access to the .vermagic file in the Linux build dir, therefore the generated .ipk metadata depends on kernel versions like '3.10.49-1-unknown' which are not satisfiable by the kernel meta package in the image. Fix this problem by substituting 'unknown' with the current version magic in include/kernel.mk when packing the SDK. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42590
* sunxi: add arm arch timer supportZoltan Herpai2014-09-171-0/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 42589
* kernel: add missing config optionHauke Mehrtens2014-09-163-0/+3
| | | | | | | | This missing option was found by the build bots. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42583
* Lantiq: fix build warning from dsl_fs scriptJohn Crispin2014-09-161-1/+1
| | | | | | | | | | | fix inclusion of functions.sh in dsl_fs init script without this, the following error is seen during build: ./etc/init.d/dsl_fs: line 4: /lib/functions.sh: No such file or directory Signed-off-by: Thomas Langer <thomas.langer@lantiq.com> SVN-Revision: 42575
* lantiq: move the lantiq,switch property into the interface nodeJohn Crispin2014-09-162-1/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42574
* postinst trigger: the new postinst trigger broke IBJohn Crispin2014-09-161-4/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42571
* sunxi: add new watchdog compats to reboot code in 3.14Zoltan Herpai2014-09-151-0/+28
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 42558
* sunxi: update profile of A13-OLinuXino to match uboot boardname, required ↵Zoltan Herpai2014-09-151-3/+3
| | | | | | | | for sdcard image Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 42557
* ar71xx: add qihoo 360 c301 router supportJohn Crispin2014-09-1515-2/+300
| | | | | | | | | | | | | | | Qihoo 360 C301 is a dual band wireless router supports 802.11n and 802.11ac. Its chipset is AR9344 + AR9882 with two 16MB flashes. This patch adds its initial support. v2: * use mtd_get_mac_ascii to fetch MAC address for ath10k. * use ath79_register_pci to initialize AR9882. Signed-off-by: Weijie Gao <hackpascal@gmail.com> SVN-Revision: 42552
* lantiq: fix switch init on vr9 SoC (3.10)John Crispin2014-09-151-21/+16
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42551
* lantiq: fix switch init on vr9 SoCJohn Crispin2014-09-151-32/+24
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42550
* ar71xx: add board support for ubnt loco m xwJohn Crispin2014-09-158-13/+30
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 42549
* ar71xx: refactor ubnt xw board setupJohn Crispin2014-09-151-8/+20
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 42548
* lantiq: add default switch setup to td8970John Crispin2014-09-151-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42544
* bcm53xx: fix early serial consoleHauke Mehrtens2014-09-141-0/+33
| | | | | | | | | This device actually has a 8250 serial with a shift of 0. Tested this on a BCM4708. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42538
* kernel: update bcma to the tag master-2014-09-11 (wireless-next)Rafał Miłecki2014-09-144-284/+384
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42537
* kernel: add missing config optionHauke Mehrtens2014-09-143-0/+3
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42536
* kernel: move bcma patches pushed to wireless-nextRafał Miłecki2014-09-144-512/+415
| | | | | | | | | We used separated patch for patches that were sent but not accepted yet. It has changed now, so let's use the standard patch file for them. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42535
* sunxi: add sdcard image generation support when board profile is selectedZoltan Herpai2014-09-143-1/+98
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 42534
* sunxi: rename pcduino profile to match uboot boardname in prep for the ↵Zoltan Herpai2014-09-141-3/+3
| | | | | | | | sdcard generator Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 42533
* kernel: add missing config optionHauke Mehrtens2014-09-141-0/+1
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42532
* kernel: do not deactivate CONFIG_BLK_DEVHauke Mehrtens2014-09-133-3/+0
| | | | | | | | | | CONFIG_BLK_DEV does not activate any functionality, but many code, but makes it possible to activate other options. Deactivating this breaks the build of kmod-zram. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42528
* kernel: add missing config optionsHauke Mehrtens2014-09-133-0/+6
| | | | | | | | These missing option were found by the build bots. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42527
* kernel: Backport essential fixes for ad799xHauke Mehrtens2014-09-133-0/+417
| | | | | | | | | This series of patches ports back some fixes of the ad799x driver, which were commited between 3.10 and 3.15. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> SVN-Revision: 42523
* bcm53xx: select nvram package by defaultHauke Mehrtens2014-09-131-1/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42522
* atheros: refresh configJohn Crispin2014-09-121-4/+0
| | | | | | | | Remove symbols that are now placed in the generic config. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42513
* atheros: convert AR2315 GPIO code to platform driverJohn Crispin2014-09-124-172/+327
| | | | | | | | | | | 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-124-75/+198
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42511
* atheros: rework chained interrupts handlingJohn Crispin2014-09-122-47/+47
| | | | | | | | | | 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-122-25/+13
| | | | | | | | | 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-125-15/+15
| | | | | | | | | 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-122-5/+13
| | | | | | | | | 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: convert to platform driverJohn Crispin2014-09-121-33/+59
| | | | | | | | | Convert the PCI controller support code to platform driver and move it to appropriate subdirectory. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42506
* atheros: ar2315-pci: rename configuration symbolJohn Crispin2014-09-122-6/+7
| | | | | | | | Rename configuration symbol to be consistent with other MIPS machines. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42505
* atheros: ar2315-pci: update DMA offset macrosesJohn Crispin2014-09-122-16/+24
| | | | | | | | 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-122-20/+8
| | | | | | | | | | 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 the configuration access codeJohn Crispin2014-09-121-34/+48
| | | | | | | | | | | | | | | Use __raw_{read,write}l accessors and use Abort interrupt to detect a configuration space read/write errors. The second change improves errors detection, what improves the device presence detection and helps us to avoid following (and similar) errors: pci 0000:00:00.2: ignoring class 0x7e0200 (doesn't match header type 02) pci 0000:00:00.2: bridge configuration invalid ([bus 03-90]), reconfiguring pci 0000:00:00.2: not setting up bridge for bus 0000:01 Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42502
* atheros: ar2315-pci: rework interrupt handlingJohn Crispin2014-09-122-66/+103
| | | | | | | | | | | | | 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: ar2315-pci: rework host controller initializationJohn Crispin2014-09-121-24/+50
| | | | | | | | | | | | Explicitly configure PCI host controller, and do not expose it to PCI subsystem. The PCI host controller acts as a usual PCI device connected to the bus, but its configuration as a usual PCI device is senseless, since the host controller provide access to _internal_ memory space for _external_ device. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42500
* atheros: ar2315-pci: cosmetic changesJohn Crispin2014-09-121-22/+47
| | | | | | | | | | | - add comment, which briefly describes PCI controller features and Fonera 2.0g schematics. - rename several functions and structures, to make it clear that this code only for AR2315 chips. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42499
* atheros: ar2315-pci: remove odd locking in PCI config space access functionJohn Crispin2014-09-121-5/+1
| | | | | | | | | Caller (generic PCI code) already do proper locking so no need to add another one here. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42498
* atheros: remove odd ATHEROS_AR2315 config symbol dependenciesJohn Crispin2014-09-122-11/+4
| | | | | | | | | 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-126-89/+52
| | | | | | | | | | | | - 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 includesJohn Crispin2014-09-123-22/+7
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42493
* atheros: ar231x-eth: remove useless IOCTL handlersJohn Crispin2014-09-122-24/+5
| | | | | | | | These IOCTLs handled in the core now. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42492