Commit Graph

115 Commits (6c73661162f7b47effdb493725071557ed175a9a)

Author SHA1 Message Date
Florian Fainelli 9e9714f004 [brcm63xx] cleanup the watchdog driver a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-09 21:35:51 +00:00
Florian Fainelli 1726b10d08 [brcm63xx] fix the watchdog driver and enable it by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-09 21:28:15 +00:00
Florian Fainelli 3339e02ed8 [brcm63xx] rework imagetag firmware generator and MTD partition parser to accomodate with all known
imagetag versions from Broadcom and vendors, patch from Daniel Dickinson (fixes #4987).


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-09 08:04:52 +00:00
Florian Fainelli f012e61a4f [brcm63xx] remove this line which got accidentaly succesfully applied, but should not have (#5285)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-08 13:42:11 +00:00
Florian Fainelli da93c74c84 [brcm63xx] fix ethernet driver removal
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:04:53 +00:00
Florian Fainelli dbbeab5dbd [brcm63xx] fix pcmcia device removal
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:04:11 +00:00
Florian Fainelli 93ac56d798 [brcm63xx] add missing null entry in pcmcia driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:03:41 +00:00
Florian Fainelli e41524a298 [brcm63xx] request gpio pins and set direction correctly for pcmcia
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:03:03 +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 11d0b7ea0a [brcm63xx] merger mtu/802.1q related fixes:
bcm63xx integrated ethernet mac supports receiving and sending frames
bigger than 1500 bytes, this patch adds support for changing MTU.

This patch also fixes the reception of 802.1q frames for default MTU
which were reported as oversized.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-03 08:55:18 +00:00
Florian Fainelli 693f304923 [brcm63xx] backport an upstream fix: We're not disabling IRQ, so we must call the irq safe flavour of netif_rx_complete, should fix some crashes when running the system for a long time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01 18:27:51 +00:00
Florian Fainelli d30d9400c0 [brcm63xx] add support for sysupgrade (#5117)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-17 16:53:57 +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 b1b869ec99 [brcm63xx] fix redundant driver name printing in probe function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19 13:32:54 +00:00
Florian Fainelli fb6c465ea7 [brcm63xx] make images that can be flashed using the stock firmware web interface, thanks to Anselmo Luginbuhl and Daniel Dickinson (#4909, #4943)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19 13:18:48 +00:00
Florian Fainelli c1c91b95fc [brcm63xx] some more fixes to the SPI controller driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-08 08:52:57 +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 6ee24eaca7 [brcm63xx] make SPI work in full-duplex mode by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-10 15:28:29 +00:00
Florian Fainelli cfd563d0c0 [brcm63xx] add bcm63xx_spi based on reading shared/opensource/flash/spiflash.c from the consumer releases, needs testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 15:27:46 +00:00
Florian Fainelli 59da47705d [brcm63xx] fix SPI accessors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 14:20:15 +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
Florian Fainelli 9fb383ef35 [brcm63xx] make bcm6358 consistend with the other boards naming
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 12:17:19 +00:00
Florian Fainelli fc26c7a305 [brcm63xx] fix some SPI register definitions and platform-device registration code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 12:13:52 +00:00
Florian Fainelli 8aa93e0c26 [brcm63xx] prepare for SPI controller driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-06 01:15:00 +00:00
Florian Fainelli fa5dbdf2dc [brcm63xx] fix SPI register definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-06 01:13:10 +00:00
Florian Fainelli a7d3754b11 [brcm63xx] fix a bcm963xx-flash warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-02 18:55:47 +00:00
Florian Fainelli 757c9f0080 [brcm63xx] provide a sane SPROMv2 to make on-board bcm4318 card work, thanks mb__
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-27 15:48:23 +00:00
Florian Fainelli 9d8922c2f6 [brcm63xx] move the device registration to an earlier initcall level, required for fallback SPROM to work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-27 15:18:34 +00:00
Florian Fainelli 2f386223ed [brcm63xx] add support for user9102 boards (#4537)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-31 16:01:20 +00:00
Florian Fainelli 32c15d9663 [brcm63xx] Add board definitions for the Davolink DV201AMR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 14:54:13 +00:00
Florian Fainelli 857f33fb68 [brcm63x] frequency is in Hz, thanks Joel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 15:29:36 +00:00
Florian Fainelli 7e5847df7d [brcm63xx] fix SPI register definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-15 22:53:32 +00:00
Florian Fainelli a584f05dfb [brcm63xx] allow bcm6338 to get the base address of the memory controller register, required to detect memory size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-15 22:42:22 +00:00
Florian Fainelli ebf032ad8f [brcm63xx] correct SPI register size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-06 14:49:27 +00:00
Florian Fainelli 035ee6d188 [brcm63xx] add board registration of the bcm96338gw
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-19 17:24:29 +00:00
Florian Fainelli 9d2f0473b4 [brcm63xx] 6338 has no PCI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-19 17:08:11 +00:00
Florian Fainelli 1f3fff3575 [brcm63xx] add experimental support for bcm6338
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-19 17:05:09 +00:00
Florian Fainelli 73f7ae7528 Register watchdog driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-19 15:00:33 +00:00
Florian Fainelli b2e0bd66f8 [brcm63xx] fix register definitions for bcm6358, thanks SGDA
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-19 10:19:00 +00:00
Florian Fainelli 0211728b9f Add bcm63xx_wdt but do not enable it yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-17 14:06:03 +00:00
Florian Fainelli 2c6cedf116 Add support for Sagem F@ST2404 (#4332)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-10 16:13:41 +00:00
Florian Fainelli c6adce1144 Fix remaining bug of the off-by-one error ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-08 21:00:00 +00:00
Florian Fainelli 9ece89311f Enable ohci on bcm96348gw
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-08 16:25:41 +00:00
Florian Fainelli dbb6568731 Prepare bcm63xx for SPI master support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-08 14:14:37 +00:00
Florian Fainelli f561c967a9 Add support for bcm96348gw10 (Netgear DG834GT) (#4319)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-07 20:34:48 +00:00
Florian Fainelli 4520a51863 Fix an off-by one printing error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 14:11:54 +00:00
Florian Fainelli 9ecf6c94fa Improve Inventel Livebox support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-29 12:57:41 +00:00
Florian Fainelli 95ea278ae9 [brcm63xx] bcm63xx MTD driver cleanup and fixes:
- convert to platform_driver
- get the window_size/addr from the board setup code
- indentation fixes
- remove duplicate code
- move bcm_tag declaration out of the MTD driver


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-27 20:40:03 +00:00
Florian Fainelli 27cbe5f744 Commit changes on the files for gpiolib
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-27 10:38:36 +00:00
Florian Fainelli 7813d1dd29 Flatten brcm63xx patches, should make our life easier to patch files now ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-26 18:41:01 +00:00
Florian Fainelli 6684678a0b Prevent the MTD map to fail, somehow detect_cfe will read the tag plus some garbage, therefore making a simple strcmp will fail
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-20 21:26:11 +00:00
Florian Fainelli 1064d5a460 This patch is for broadcom 96348GW-11 boards, to get USB and Ethernet working. Also it patches mtd map driver for bcm96xx boards to be sure that CFE1CFE1 code is detected when booting from CFE. (#4201)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-15 11:30:22 +00:00
Florian Fainelli 691021f3bb Delete old brcm63xx files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-15 11:21:42 +00:00
Felix Fietkau 735b2ea438 brcm63xx: rename mtd partitions to the ones used by other openwrt platforms - should make the automatic rootfs overlay split work and fix the mounting of the right partition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-06 12:52:39 +00:00
Florian Fainelli 5274d927c6 Add definitions for bcm96350vw, add back bcm63xx mtd driver, be careful when testing with 8MB devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-20 12:55:28 +00:00
Florian Fainelli 7aa45daae1 Upgrade brcm63xx to 2.6.24
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-13 17:31:17 +00:00
Felix Fietkau 92558d67a4 strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 16:27:37 +00:00