Daniel Dickinson
a471baeb22
tools/firmware-utils/imagetag: Fixed Pirelli Alice Gate CRC calculation in imagetag (was invalid strings in bcm_tag.h). Closes #7120
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-14 00:45:48 +00:00
Florian Fainelli
9b32abb33e
[brcm63xx] flashmap and image generation: reduced union bcm_tag to a single struct
...
combining the elements so that it is no longer necessary to create an openwrt-only
tagid and tagcrc, and elimate the tagid detection and switch statements which
made dealing with imagetags overly complicated, especially since the logic would
need analogs in all code that touched the imagetag. Patch from cshore.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-01 21:20:43 +00:00
Florian Fainelli
dc3662326e
[brcm63xx] move bcm_tag.h out of the flashmap patch so that user-land tools can re-use it
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 18:11:06 +00:00
Florian Fainelli
a300ad427a
[brcm63xx] move files to files-2.6.30, to ease newer kernel integration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 21:00:50 +00:00
Daniel Dickinson
89c1c5f5f4
brcm63xx: Fix gpio-buttons and add LED and buttons for Tecom IGW6200 and Comtrend CT-5261
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-28 16:54:00 +00:00
Daniel Dickinson
c0c8556ba8
Fix typo in AGPF_S0 reset button definition
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-16 03:13:56 +00:00
Claudio Mignanti
e17e2be08e
bcm63xx: add gpio leds to alice gate
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-15 13:30:46 +00:00
Florian Fainelli
29de13ad8f
[brcm63xx] add support for the RTA1025W_16 board ( #5979 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-22 14:53:20 +00:00
Nicolas Thill
81ae5e6bed
[kernel] brcm63xx: fix cardbus support with BCM6358 ( closes : #5918 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 20:40:05 +00:00
Florian Fainelli
ddce282a1f
[brcm63xx] prevent gpio-buttons registration failure
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-08 15:24:06 +00:00
Florian Fainelli
c157373236
[brcm63xx] fix typos against the gpio buttons driver ( #5804 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-07 18:17:45 +00:00
Florian Fainelli
31de48c7d8
[brcm63xx] add infrastructure to register gpio-input reset button
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-06 13:54:17 +00:00
Florian Fainelli
af3d584ce7
[brcm63xx] fix reboot hang on bcm6345, thanks AndyI
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-02 08:32:00 +00:00
Florian Fainelli
2371d7016c
[brcm63xx] add missing patch which fakes a cardbus controller on top of PCI, thanks SGDA
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-12 08:41:47 +00:00
Florian Fainelli
6ad8618e31
[brcm63xx] more bcm63xx definition fixes, thanks AndyI
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-11 18:50:07 +00:00
Florian Fainelli
1c49507d80
[brcm63xx] add support for the Pirelli AG226G board ( #5337 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-09 10:19:47 +00:00
Florian Fainelli
033116d210
[brcm63xx] bcm6345 fixes from AndyI
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06 20:33:42 +00:00
Florian Fainelli
3c0efe2dec
[brcm63xx] fix off-by-one maximum timeout in the wathchdog default counter for bcm6345, thanks AndyI
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06 18:53:44 +00:00
Florian Fainelli
1bfab34d40
[brcm63xx] disable watchdog for bcm6345 until it gets fixed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06 18:44:20 +00:00
Florian Fainelli
af59e48234
[brcm63xx] more bcm6345 fixes and definitions, thanks to AndyI
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-31 20:15:43 +00:00
Florian Fainelli
35815395ca
[brcm63xx] add experimental support for 2.6.28.10, tested on bcm6338
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-30 21:29:25 +00:00
Florian Fainelli
fd243ab4c9
[brcm63xx] fix typo for the flash start address on bcm6345
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-27 22:31:28 +00:00
Florian Fainelli
c6ab7daf85
[brcm63xx] register GPIO-connected LEDs for known boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-18 00:40:23 +00:00
Florian Fainelli
4907e1e896
[brcm63xx] fix comment only valid for bcm6345
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-17 15:57:09 +00:00
Florian Fainelli
4bbd24f57f
[brcm63xx] add the infrastructure to use a MPI/GPIO connected VoIP DSP
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 21:00:41 +00:00
Florian Fainelli
7bba3b72d7
[brcm63xx] fixes for the bcm6338 clocks, thanks Maxime
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 13:49:20 +00:00
Florian Fainelli
1850996a1b
[brcm63xx] a couple of more fixes to get 6345 booting up to the console handover
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-30 13:45:49 +00:00
Florian Fainelli
73821328e6
[brcm63xx] shared DMA zone is twice smaller on 6338
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-28 20:06:44 +00:00
Florian Fainelli
93039fd66e
[brcm63xx] bcm6338 can support PCI since it has MPI
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 21:43:55 +00:00
Florian Fainelli
c6eb086771
[brcm63xx] more fixes for bcm6338, no need not to prevent reads from MPI registers now that we have it defined correctly
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 20:32:43 +00:00
Florian Fainelli
d0c0b1b484
[brcm63xx] fix the flash address comment and register the flash device again with its proper physical address on 6338/6345
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 18:58:00 +00:00
Florian Fainelli
53035bf4e2
[brcm63xx] fix a stupid typo preventing the board from being detected
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 18:30:45 +00:00
Florian Fainelli
d1867359ac
[brcm63xx] prevent bcm6338 and bcm6345 from crashing very early
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 18:23:58 +00:00
Florian Fainelli
79422ea720
[brcm63xx] only register fallback sprom and enable PCI if we actually have support for PCI
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 16:17:18 +00:00
Florian Fainelli
b89b571a5a
[brcm63xx] more missing register definitions for bcm6338
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 15:51:27 +00:00
Florian Fainelli
e430ad8740
[brcm63xx] more bcm6338 and bcm6345 related fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-26 12:34:35 +00:00
Florian Fainelli
5857eee187
[brcm63xx] define bcm6338 SDRAM base register and make sure that the right CPU id will be used to detect a bcm6338
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-26 11:08:12 +00:00
Florian Fainelli
9fb3d8efcb
[brcm63xx] add board definitions for the bcm6338w
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-26 10:27:13 +00:00
Florian Fainelli
6f2968d917
[brcm63xx] be SMP safe even with gpiolib
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:02:23 +00:00
Florian Fainelli
5d27e16f2e
[brcm63xx] cache gpio values in gpio_set
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:01:55 +00:00
Florian Fainelli
b904d67782
[brcm63xx] use the correct number of GPIOs for bcm6358
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:01:03 +00:00
Florian Fainelli
b86d85140f
[brcm63xx] register gpiochip earlier, allowing gpio-based runtime detection to be performed in board_init callback
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 09:59:28 +00:00
Florian Fainelli
ca100df2da
[brmc63xx] register gpiodev
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-30 14:09:01 +00:00
Florian Fainelli
a35170087e
[brcm63xx] enable all blocks on 6338 and uart clock on 6345
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-21 10:50:44 +00:00
Florian Fainelli
718972f840
[brcm63xx] add support for bcm6345 SoC, needs testing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-20 15:08:02 +00:00
Florian Fainelli
1675d3bed9
[brcm63xx] fix SPI register switch and prepare for UDC, thanks to Henk Vergonet ( #4783 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 11:28:54 +00:00
Florian Fainelli
4750ec9396
[brcm63xx] add support for AGPF-S0 (Pirelli Alice Gate VoIP 2 Plus Wi-Fi) #4366
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-12 08:54:04 +00:00
Florian Fainelli
4b5f21833c
[brcm63xx] do not duplicate fifo_size, since RX and TX fifo sizes are the same, request_mem_region on the registers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-11 10:32:44 +00:00
Florian Fainelli
4d87772497
[brcm63xx] fix typo for the bcm6338 spi IRQ, change platform driver name and make the SPI irq be fetchable by platform driver initialization code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 12:43:13 +00:00
Florian Fainelli
2c319b5f1f
[brcm63xx] compile and register SPI controller device
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 12:18:26 +00:00