summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to ↵nbd2011-12-053-72/+78
| | | | | | dev-m25p80.c, other buffalo routers use it as well git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29440 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rewrite WNDR3700/3800 handlingjuhosg2011-12-0510-297/+59
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] add some missing wndr3800 base-files definitionsjow2011-12-053-2/+72
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29433 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: change user-space board detectionjuhosg2011-12-052-6/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow WNDR3700 image creation to fail if kernel/rootfs too bigjuhosg2011-12-051-18/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29431 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the tp-link parser on the tp-link boardsjuhosg2011-12-038-267/+33
| | | | | | Also remove static partition maps. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29416 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add mtd partition parser for the TP-Link boardsjuhosg2011-12-033-0/+191
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: run the RedBoot parser only on the RedBoot based boardsjuhosg2011-12-037-27/+60
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29414 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: run the MyLoader parser only on the WP543 boardjuhosg2011-12-033-26/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29413 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: run the wrt160nl parser only on the WRT160NL boardjuhosg2011-12-032-57/+4
| | | | | | Also remove static mtd partition definitions. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29412 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow to pass part_probe types to the m25p80 driverjuhosg2011-12-034-5/+28
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29411 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create initramfs images for the newer TP-Link boardsjuhosg2011-12-031-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29410 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove swconfig and wpad-mini from custom profilesjuhosg2011-12-035-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29408 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add uboot-envtools to the default package listjuhosg2011-12-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29407 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: reclaim unused space in WNDR3700/3800 imagesjuhosg2011-12-031-20/+63
| | | | | | Patch by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add a profile and build image for the OM2P boardjuhosg2011-12-012-0/+36
| | | | | | | | | [juhosg: the name of the final image has been changed to 'openwrt-ar71xx-generic-om2p-squashfs-factory.bin'] Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29397 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Ubiquiti AirRouterjuhosg2011-12-015-0/+42
| | | | | | Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29395 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: configure default led behavior for the OM2Pjuhosg2011-12-011-0/+5
| | | | | | Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29394 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use /lib/functions/uci-defaults.shjuhosg2011-12-011-124/+49
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29385 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: modify phy mask of the WP543 boardjuhosg2011-11-241-2/+2
| | | | | | This fixes ethernet on newer boards. Based on a patch from #9702. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29328 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix wndr3800 machine namejuhosg2011-11-245-2/+9
| | | | | | | | This fixes the machine name in /proc/cpuinfo and luci status page machine name. Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: copy atheros initramfs images to the image directoryjuhosg2011-11-241-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29325 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: specify mtd layout in command line for the DB120 boardjuhosg2011-11-241-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29324 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: set GE0 phy_mask for AR933xjuhosg2011-11-201-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix USB LED on the DB120 boardjuhosg2011-11-142-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29126 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add a function for selecting output signal on a given GPIO pinjuhosg2011-11-142-0/+38
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29125 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix GPIO function handling on AR934xjuhosg2011-11-142-9/+35
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29124 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add AR71XX_ prefix to GPIO_REG_* definesjuhosg2011-11-145-91/+95
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29123 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge nand scan patchjuhosg2011-11-143-24/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix a compiler warningjuhosg2011-11-141-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix GPIO count for AR934xjuhosg2011-11-141-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29109 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934Xjuhosg2011-11-142-6/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use a dummy irq chip for WMAC and PCIe irq hadlingjuhosg2011-11-144-2/+50
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29107 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS definesjuhosg2011-11-141-0/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add an irq parameter for ar724x_pcibios_initjuhosg2011-11-143-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29105 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove hardwired interface parameters from mach-* filesjuhosg2011-11-1413-128/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29103 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: force hardwired interface parameters in ar71xx_add_device_ethjuhosg2011-11-141-1/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use if-else instead of conditional operators in ar71xx_add_device_ethjuhosg2011-11-141-48/+76
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable has_gbit flag on AR724{0,1}juhosg2011-11-131-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29026 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fixup onboard PCIe chip registration on the DB120 boardjuhosg2011-11-133-6/+36
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29022 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: drop DB120_WMAC_MAC_OFFSET, it is not neededjuhosg2011-11-131-3/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29021 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: add support for getting switch port link statusjuhosg2011-11-131-0/+67
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29017 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove mii_ctrl resources of the ethernet devicesjuhosg2011-11-131-10/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29016 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xxjuhosg2011-11-132-19/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29015 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: remove unused mii_cfg related functions and definesjuhosg2011-11-131-40/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29014 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: set MII interface speed from the set_speed callbacksjuhosg2011-11-133-6/+39
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29013 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename set_pll callback to set_speed in ag71xx_platform_datajuhosg2011-11-133-30/+30
| | | | | | Also rename the corresponding callback functions. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29012 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: remove MII interface setup codejuhosg2011-11-133-16/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: configure MII interface type from ar71xx_setup_phy_if_modejuhosg2011-11-132-6/+28
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix occasional kernel hangs during boot on AR934xjuhosg2011-11-131-0/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | The patch taken from the linux-mips mailing list. The Kernel hangs occasionally during boot after "Calibrating delay loop..". This is caused by the c0_compare_int_usable() routine in cevt-r4k.c returning false which causes the system to disable the timer and hang later. The false return happens because the routine is using a series of four calls to irq_disable_hazard() as a delay while it waits for the timer changes to propagate to the cp0 cause register. On newer MIPS cores, like the 74K, the series of irq_disable_hazard() calls turn into ehb instructions and can take as little as a few clock ticks for all 4 instructions. This is not enough of a delay, so the routine thinks the timer is not working. This fix uses up to a max number of cycle counter ticks for the delay and uses back_to_back_c0_hazard() instead of irq_disable_hazard() to handle the hazard condition between cp0 writes and cp0 reads. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29009 3c298f89-4303-0410-b956-a3cf2f4a3e73