aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx
Commit message (Collapse)AuthorAgeFilesLines
* cns3xxx: update FIQ header file and disable RWFOFelix Fietkau2012-10-172-6/+5
| | | | | | | | | | | | | | | | Update header file appropriately and disable read for ownership Note that the FIQ support implements a workaround that provides a performance boost over the traditional upstream workaround which ensures cache lines are exclusive on driver CPU using 'read for ownership'. Signed-off-by: Tim Harvey <tharvey@gateworks.com> target/linux/cns3xxx/config-3.3 | 2 +- target/linux/cns3xxx/patches-3.3/460-cns3xxx_fiq_support.patch | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33827 3c298f89-4303-0410-b956-a3cf2f4a3e73
* drop GPIODEV platform codeJohn Crispin2012-10-171-6/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33825 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cns3xxx]: fix (really this time) laguna UART configImre Kaloz2012-10-111-1/+1
| | | | | | | | | Properly terminate the correct platform resource for laguna UARTs Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33721 3c298f89-4303-0410-b956-a3cf2f4a3e73
* The Gateworks System Controller (GSC) is an i2c device that provides systemImre Kaloz2012-10-112-340/+1
| | | | | | | | | | | level monitoring and control of Gateworks boards. It is used on several product families spanning several different target architectures (ixp4xx, cns3xxx, davinci). Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cns3xxx]: fix non terminated uart resources for lagunaImre Kaloz2012-10-111-1/+2
| | | | | | | | | | Resolves crashes when probing multiple serial devices Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33719 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: Fix GPIO configuration for Gateworks Laguna boardsFelix Fietkau2012-10-101-0/+23
| | | | | | | | | The Laguna boards do not use all the same pins for SDHCI as the Cavium reference board. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: Fix laguna arm11mpcore watchdogFelix Fietkau2012-10-101-1/+1
| | | | | | | | | | | | | | | | | The ARM11MPCore Timer/Watchdog registers start at offset 0x600 which is where all mpcore-wdt boards point the driver base too. I believe this is wrong because 0x600 is aliased to the timer/watchdog of the 'current CPU' where 0x700 is CPU0's timer/watchdog, and 0x800 is CPU1's timer/watchdog. Thus if your timer/watchdog application is switching between CPU's it can end up writing to the wrong CPU's registers which results in random board resets from watchdog timeouts etc. This patch forces the timer/watchdog driver to use CPU0's registers always. Its my opinion that other mpcore-wdt boards should be doing the same thing. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: add sysupgrade supportFelix Fietkau2012-10-073-4/+159
| | | | | | | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> target/linux/cns3xxx/base-files/lib/cns3xxx.sh | 22 ++ target/linux/cns3xxx/base-files/lib/upgrade/platform.sh | 122 ++++++++++++++++ target/linux/cns3xxx/image/Makefile | 19 +- 3 files changed, 159 insertions(+), 4 deletions(-) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: add GW2383 board supportFelix Fietkau2012-10-071-1/+17
| | | | | | | | | | | Add GPIO/LED support for Gateworks GW2383 Signed-off-by: Tim Harvey <tharvey@gateworks.com> target/linux/cns3xxx/patches-3.3/300-laguna_support.patch | 18 +++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33649 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix gpio access and add gpio IRQ supportFelix Fietkau2012-10-071-0/+536
| | | | | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch | 536 ++++++++++++++++++++ 1 file changed, 536 insertions(+) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33648 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: add missing kernel config symbolFelix Fietkau2012-09-301-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33603 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add FIQ support for cns3xxxImre Kaloz2012-09-282-1/+430
| | | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33581 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Update board support for Gateworks Laguna Product familyImre Kaloz2012-09-281-8/+162
| | | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33580 3c298f89-4303-0410-b956-a3cf2f4a3e73
* USB iso mode fixesImre Kaloz2012-09-281-129/+234
| | | | | | | | | | | Resolves an issue where isochronouse USB would cause the driver to hang as well as scheduling issues. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33579 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cns3xxx]: fix ncores for single-core systems.Imre Kaloz2012-09-271-0/+109
| | | | | | | | | | | For cns3xxx SCU_CONFIGURATION always shows multipe cores but SCU_CPU_STATUS shows which ones are active. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33566 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cns3xxx]: add i2c retriesImre Kaloz2012-09-271-0/+72
| | | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33565 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cns3xxx]: fix pcie abort handlingImre Kaloz2012-09-271-0/+128
| | | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix ethernet driver tx completion and queue stop/startFelix Fietkau2012-09-221-0/+110
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: implement ethernet fraglist tx support for improved bridging ↵Felix Fietkau2012-09-221-18/+191
| | | | | | performance with jumbo frames git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cns3xxx]: move gpio stuff into the right fileImre Kaloz2012-09-212-111/+111
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33502 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: add a small optimization for rx offloadFelix Fietkau2012-09-211-0/+27
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33500 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix ethernet port lookup for multi-descriptor jumbo framesFelix Fietkau2012-09-211-14/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33499 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix ethernet packet alignment issues (hw has an alignment ↵Felix Fietkau2012-09-201-14/+18
| | | | | | requirement of 64), fix skb fragment chaining git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33498 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: remove the broken flagFelix Fietkau2012-09-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33493 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix kernel configFelix Fietkau2012-09-191-17/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33492 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix ethernet jumbo-frame support, use single-page rx buffers and ↵Felix Fietkau2012-09-191-0/+317
| | | | | | skb fragment lists git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix ethernet tx checksum offloadFelix Fietkau2012-09-191-0/+89
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: merge ethernet driver changes from gateworksFelix Fietkau2012-09-191-230/+258
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33489 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: build images for the old boot loader and the new one (default to ↵Felix Fietkau2012-09-191-2/+8
| | | | | | the new one) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33488 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix the ethernet driver makefileFelix Fietkau2012-09-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33487 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: reorganize patches, fix pcie io space init orderFelix Fietkau2012-09-197-114/+120
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33486 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: move virtual io addresses to vmalloc space to fix kernel BUG() callsFelix Fietkau2012-09-195-10/+208
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: add missing callbacks for the laguna machine supportFelix Fietkau2012-09-194-4/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33484 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cns3xx] laguna: fix eeprom read buffer size during platform configurationJohn Crispin2012-07-251-1/+1
| | | | | | | | Increase the size of the buffer used for eeprom reads during the platform configuration of the Gateworks laguna. The model name read in is 16 bytes but the original buffer was only 8 bytes. Signed-off-by: David Acker <dacker@rajant.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32833 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] bump to 3.3.8John Crispin2012-06-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: remove 3.1 supportGabor Juhos2012-05-2715-27496/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31888 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: switch to 3.3 and add broken flagGabor Juhos2012-05-271-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31887 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: add support for 3.3Gabor Juhos2012-05-1817-0/+27541
| | | | | | Compile tested only. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: sync kernel configGabor Juhos2012-05-181-12/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31807 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: remove 2.6.39 supportGabor Juhos2012-05-1815-27379/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31806 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: switch to 3.1Gabor Juhos2012-05-181-1/+1
| | | | | | Compile tested only. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31805 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: move certain disabled symbols to the generic configsGabor Juhos2012-05-151-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * CONFIG_ARCH_DMA_ADDR_T_64BIT * CONFIG_ARCH_HAS_ILOG2_U32 * CONFIG_ARCH_HAS_ILOG2_U64 * CONFIG_ARCH_PHYS_ADDR_T_64BIT * CONFIG_ARCH_SUPPORTS_MSI * CONFIG_GENERIC_CPU_DEVICES * CONFIG_HWMON_DEBUG_CHIP * CONFIG_I2C_PXA_PCI * CONFIG_LEDS_GPIO * CONFIG_MINIX_FS_NATIVE_ENDIAN * CONFIG_MLX4_CORE * CONFIG_POWER_SUPPLY * CONFIG_POWER_SUPPLY_DEBUG * CONFIG_QUOTACTL * CONFIG_SDIO_UART * CONFIG_SENSORS_K10TEMP * CONFIG_SENSORS_SCH56XX_COMMON * CONFIG_SENSORS_VIA_CPUTEMP * CONFIG_SERIO_AMBAKMI * CONFIG_SERIO_I8042 * CONFIG_SERIO_LIBPS2 * CONFIG_SERIO_PCIPS2 * CONFIG_SERIO_RAW * CONFIG_SERIO_SERPORT * CONFIG_SPI_BITBANG * CONFIG_SPI_GPIO git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31737 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: remove 2.6.31 supportGabor Juhos2012-04-2112-57263/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31418 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cns3xxx]: enable another l2 cache errate on newer kernelsImre Kaloz2012-02-121-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cns3xxx]: rename 3.1 patches directory as it will be used for newer kernels ↵Imre Kaloz2012-02-1114-0/+0
| | | | | | as well git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cns3xxx]: rename 2.6.39 patches directoryImre Kaloz2012-02-1115-0/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.1 to 3.1.10Jonas Gorski2012-01-312-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29966 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cns3xxx]: update 3.1 patchesImre Kaloz2011-11-074-55/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cns3xxx]: upgrade testing kernel support to 3.1Imre Kaloz2011-09-0417-171/+97
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cns3xxx]: cleanup configImre Kaloz2011-09-041-10/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28164 3c298f89-4303-0410-b956-a3cf2f4a3e73