Commit Graph

107 Commits (43d56d9b56a57b8d27ac0dbc000f55eb098a4a5e)

Author SHA1 Message Date
Florian Fainelli 287a0efd68 be SMP safe even with gpiolib
SVN-Revision: 16331
2009-06-04 10:02:23 +00:00
Florian Fainelli 9013e936ed cache gpio values in gpio_set
SVN-Revision: 16330
2009-06-04 10:01:55 +00:00
Florian Fainelli 1208ffaedb use the correct number of GPIOs for bcm6358
SVN-Revision: 16329
2009-06-04 10:01:03 +00:00
Florian Fainelli c95420f06d register gpiochip earlier, allowing gpio-based runtime detection to be performed in board_init callback
SVN-Revision: 16328
2009-06-04 09:59:28 +00:00
Florian Fainelli d2b2ce325a 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.

SVN-Revision: 16302
2009-06-03 08:55:18 +00:00
Florian Fainelli 05b40c8d13 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
SVN-Revision: 16277
2009-06-01 18:27:51 +00:00
Florian Fainelli 0d7f5f8d2c add support for sysupgrade (#5117)
SVN-Revision: 15900
2009-05-17 16:53:57 +00:00
Florian Fainelli 9485c3e834 register gpiodev
SVN-Revision: 15509
2009-04-30 14:09:01 +00:00
Florian Fainelli dd2b72105b fix redundant driver name printing in probe function
SVN-Revision: 15254
2009-04-19 13:32:54 +00:00
Florian Fainelli 1f334e3caa make images that can be flashed using the stock firmware web interface, thanks to Anselmo Luginbuhl and Daniel Dickinson (#4909, #4943)
SVN-Revision: 15253
2009-04-19 13:18:48 +00:00
Florian Fainelli 14832d3c23 some more fixes to the SPI controller driver
SVN-Revision: 15146
2009-04-08 08:52:57 +00:00
Florian Fainelli 501ebb4f74 enable all blocks on 6338 and uart clock on 6345
SVN-Revision: 14957
2009-03-21 10:50:44 +00:00
Florian Fainelli 0972ee5331 add support for bcm6345 SoC, needs testing
SVN-Revision: 14953
2009-03-20 15:08:02 +00:00
Florian Fainelli 32c29f1aaf fix SPI register switch and prepare for UDC, thanks to Henk Vergonet (#4783)
SVN-Revision: 14914
2009-03-17 11:28:54 +00:00
Florian Fainelli 6495fa36ea add support for AGPF-S0 (Pirelli Alice Gate VoIP 2 Plus Wi-Fi) #4366
SVN-Revision: 14850
2009-03-12 08:54:04 +00:00
Florian Fainelli 8065eb4a55 do not duplicate fifo_size, since RX and TX fifo sizes are the same, request_mem_region on the registers
SVN-Revision: 14848
2009-03-11 10:32:44 +00:00
Florian Fainelli 51125fb616 make SPI work in full-duplex mode by default
SVN-Revision: 14841
2009-03-10 15:28:29 +00:00
Florian Fainelli ae1ed9b7f4 add bcm63xx_spi based on reading shared/opensource/flash/spiflash.c from the consumer releases, needs testing
SVN-Revision: 14793
2009-03-08 15:27:46 +00:00
Florian Fainelli 871b0d6fed fix SPI accessors
SVN-Revision: 14792
2009-03-08 14:20:15 +00:00
Florian Fainelli 1bcf5d0de6 fix typo for the bcm6338 spi IRQ, change platform driver name and make the SPI irq be fetchable by platform driver initialization code
SVN-Revision: 14790
2009-03-08 12:43:13 +00:00
Florian Fainelli bf7f2939c2 compile and register SPI controller device
SVN-Revision: 14789
2009-03-08 12:18:26 +00:00
Florian Fainelli 1e92d0355d make bcm6358 consistend with the other boards naming
SVN-Revision: 14788
2009-03-08 12:17:19 +00:00
Florian Fainelli b1abddb45f fix some SPI register definitions and platform-device registration code
SVN-Revision: 14787
2009-03-08 12:13:52 +00:00
Florian Fainelli 5e8dfe53b6 prepare for SPI controller driver
SVN-Revision: 14755
2009-03-06 01:15:00 +00:00
Florian Fainelli 9422b140ba fix SPI register definitions
SVN-Revision: 14754
2009-03-06 01:13:10 +00:00
Florian Fainelli 2d1ed46c68 fix a bcm963xx-flash warning
SVN-Revision: 14730
2009-03-02 18:55:47 +00:00
Florian Fainelli 6f484fc283 provide a sane SPROMv2 to make on-board bcm4318 card work, thanks mb__
SVN-Revision: 14683
2009-02-27 15:48:23 +00:00
Florian Fainelli b539d11497 move the device registration to an earlier initcall level, required for fallback SPROM to work
SVN-Revision: 14681
2009-02-27 15:18:34 +00:00
Florian Fainelli 730346e2d5 add support for user9102 boards (#4537)
SVN-Revision: 14305
2009-01-31 16:01:20 +00:00
Florian Fainelli d7cb033a04 Add board definitions for the Davolink DV201AMR
SVN-Revision: 14263
2009-01-29 14:54:13 +00:00
Florian Fainelli 46b91ed787 frequency is in Hz, thanks Joel
SVN-Revision: 14067
2009-01-17 15:29:36 +00:00
Florian Fainelli 5ce93c07a5 fix SPI register definitions
SVN-Revision: 14048
2009-01-15 22:53:32 +00:00
Florian Fainelli 5905a48169 allow bcm6338 to get the base address of the memory controller register, required to detect memory size
SVN-Revision: 14047
2009-01-15 22:42:22 +00:00
Florian Fainelli 4c7d2cf90e correct SPI register size
SVN-Revision: 13886
2009-01-06 14:49:27 +00:00
Florian Fainelli 85d59fbf8c add board registration of the bcm96338gw
SVN-Revision: 13693
2008-12-19 17:24:29 +00:00
Florian Fainelli 3f7137022d 6338 has no PCI
SVN-Revision: 13692
2008-12-19 17:08:11 +00:00
Florian Fainelli 3dd67d64f4 add experimental support for bcm6338
SVN-Revision: 13691
2008-12-19 17:05:09 +00:00
Florian Fainelli fa5a568380 Register watchdog driver
SVN-Revision: 13690
2008-12-19 15:00:33 +00:00
Florian Fainelli 42ff43386a fix register definitions for bcm6358, thanks SGDA
SVN-Revision: 13688
2008-12-19 10:19:00 +00:00
Florian Fainelli 7ab973e1af Add bcm63xx_wdt but do not enable it yet
SVN-Revision: 13677
2008-12-17 14:06:03 +00:00
Florian Fainelli 4dc65aed63 Add support for Sagem F@ST2404 (#4332)
SVN-Revision: 13583
2008-12-10 16:13:41 +00:00
Florian Fainelli 6acf4c2a19 Fix remaining bug of the off-by-one error ;)
SVN-Revision: 13551
2008-12-08 21:00:00 +00:00
Florian Fainelli fadddcc655 Enable ohci on bcm96348gw
SVN-Revision: 13549
2008-12-08 16:25:41 +00:00
Florian Fainelli 47050e72be Prepare bcm63xx for SPI master support
SVN-Revision: 13547
2008-12-08 14:14:37 +00:00
Florian Fainelli f3be50a031 Add support for bcm96348gw10 (Netgear DG834GT) (#4319)
SVN-Revision: 13540
2008-12-07 20:34:48 +00:00
Florian Fainelli 01a5c953a3 Fix an off-by one printing error
SVN-Revision: 13469
2008-12-02 14:11:54 +00:00
Florian Fainelli e8aad7938a Improve Inventel Livebox support
SVN-Revision: 13427
2008-11-29 12:57:41 +00:00
Florian Fainelli cc2e43992d 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
SVN-Revision: 13379
2008-11-27 20:40:03 +00:00
Florian Fainelli 44108d6a2d Commit changes on the files for gpiolib
SVN-Revision: 13374
2008-11-27 10:38:36 +00:00
Florian Fainelli 1c77ec0587 Flatten brcm63xx patches, should make our life easier to patch files now ;)
SVN-Revision: 13368
2008-11-26 18:41:01 +00:00
Florian Fainelli e854a26332 Prevent the MTD map to fail, somehow detect_cfe will read the tag plus some garbage, therefore making a simple strcmp will fail
SVN-Revision: 13299
2008-11-20 21:26:11 +00:00
Florian Fainelli 0d4286b0b3 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)
SVN-Revision: 13213
2008-11-15 11:30:22 +00:00
Florian Fainelli 517e3d404c Delete old brcm63xx files
SVN-Revision: 13210
2008-11-15 11:21:42 +00:00
Felix Fietkau d0388bbe5c 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
SVN-Revision: 13130
2008-11-06 12:52:39 +00:00
Florian Fainelli 691e187381 Add definitions for bcm96350vw, add back bcm63xx mtd driver, be careful when testing with 8MB devices
SVN-Revision: 13015
2008-10-20 12:55:28 +00:00
Florian Fainelli ebf4eb11e9 Upgrade brcm63xx to 2.6.24
SVN-Revision: 10455
2008-02-13 17:31:17 +00:00
Felix Fietkau 56231056ea 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.
SVN-Revision: 8653
2007-09-06 16:27:37 +00:00