Commit Graph

38 Commits (8b16eba876b8f9b794e5c6dd574d613a8b2db71a)

Author SHA1 Message Date
Florian Fainelli e75274de89 fix build of brcm-wl
The fallback needs to be exported for bcm63xx, too. Runtime tested with a
BCM4322 on a BCM6358.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 25420
2011-02-08 13:46:12 +00:00
Florian Fainelli bed53c93d6 give some credits to Tanguy Bouzeloc in the spi driver
SVN-Revision: 25133
2011-01-27 02:11:08 +00:00
Florian Fainelli c6d9ec5173 multiple SPI driver fixes
- fix platform device registration
- fix chipselect, command register defines, add missing clock
- make slave select proper
- fix multibytes transferts

Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com>

SVN-Revision: 24849
2010-12-29 16:19:59 +00:00
Daniel Dickinson dc9c1ac1f7 patches-2.6.35: mtd flashmap: Really fixed sparelen and rootfslen. The real rootfslen for OpenWRT images comes from a bigendian uint32_t in reserved1 of the bcm_tag, which is now used to correctly calculate the rootfslen (and thus the sparelen).
SVN-Revision: 24843
2010-12-28 08:10:32 +00:00
Daniel Dickinson 5ee2a6c696 patches-2.6.36: Fix flashmap spare length calculation from previous commit (for rootfs and rootfs_data mtd partitions). Apparently the interruption in working on it resulted in an incorrect memory of getting it working.
SVN-Revision: 24842
2010-12-28 04:05:04 +00:00
Florian Fainelli 093ebfe217 spi driver: remove bcm_rset usage
Since bcm636x platform embeds two spi master device,
the attached patch removes static bcm_rset usage, replaced  by
"bs->regs" field for all I/O operation.

Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

SVN-Revision: 24840
2010-12-28 00:24:50 +00:00
Daniel Dickinson fc3a1d0ba3 Added OpenWRT-specific field to imagetag so that we can record the real root length, so that when the CRC fixup is applied and the root length is recorded as zero we can still calculate the rootfs mtd partition size.
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

SVN-Revision: 24838
2010-12-26 04:18:13 +00:00
Daniel Dickinson 31f7259e3e mtd flashmap: Switched to calculating the rootfs size rather than depending on being given the size in the imagetag. This is because solving the problem of second boot CRC errors requires changeing the rootfs size in the image to zero.
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

SVN-Revision: 24834
2010-12-26 04:17:56 +00:00
Daniel Dickinson 44e22cbd49 Fixed Comtrend CT536_CT5621 board settings. These boards are based on the 96348GW-11 reference design but have different GPIOs therefore we use the board fixups now availabed (thanks the patches by Jonas Gorski) to create a separate board entry for these boards and leave the reference design with reference GPIOs. Also these boards only have enet1 (no enet0) so we set that in the board definition, and use a defconfig for a single interface network.
SVN-Revision: 24442
2010-12-10 18:59:58 +00:00
Daniel Dickinson f8ed133c0a patches: Renamed 150-led_count to 141-led_count so it comes before the 15-alice_gate2_leds.patch as which led count was mistakenly given the same number.
SVN-Revision: 24310
2010-12-07 17:32:29 +00:00
Daniel Dickinson 0e839ea40d Revert "[brcm63xx] patches-2.6.35: Added flash chip definition for Macronix MX29LV640T."
This reverts commit 43511418ae2771a6662a83a254f06e37f4ac19e5.

It belongs in generic not brcm63xx.

SVN-Revision: 24308
2010-12-07 17:02:31 +00:00
Daniel Dickinson 183d628485 patches-2.6.35: Added flash chip definition for Macronix MX29LV640T. Thanks blunoise
SVN-Revision: 24307
2010-12-07 16:42:23 +00:00
Daniel Dickinson 8f9b14dafe boards: Added GW6x00 fixups and GPIOs. The GW6200 GPIOs are different than the reference design 96348GW so we use fixup to allow us to define the correct ones, also the GW6000 has no GPIO-controlled leds.
SVN-Revision: 24305
2010-12-07 15:15:54 +00:00
Daniel Dickinson 3baa168e09 patches: Refreshed patches after led_count
SVN-Revision: 24304
2010-12-07 15:15:51 +00:00
Daniel Dickinson b963cbde33 board definitions: Added patch for calculating led count, which was part of the patch removed in the previous commit
SVN-Revision: 24303
2010-12-07 15:15:47 +00:00
Daniel Dickinson e5ca4d81f4 Remove patch 140-new_bcm96348gw_leds because it is really the GW6200 leds, not the generic 96348GW. Another commit will add the GW6200 specific boardid and leds. This removal reverts the 96348GW leds to the reference design GPIOs.
SVN-Revision: 24302
2010-12-07 15:15:41 +00:00
Daniel Dickinson 244db5ac6a board definition: Fixed CPVA642 LED definitions
SVN-Revision: 24275
2010-12-06 06:45:57 +00:00
Daniel Dickinson 8316194016 board definitions: Added CPVA642 GPIO leds and buttons and refreshed patches later in series due to fuzz
SVN-Revision: 24274
2010-12-06 04:31:23 +00:00
Daniel Dickinson 314bce63e6 bcm63xx: Add support for the T-Com Speedport W 500V.
Add support for the T-Com Speedport W 500V using a special tagged image as it
identifies itself as a 96348GW, but has some gpios wired differently, and also
has only one ethernet port without a switch attached to it.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 24190
2010-11-28 22:04:44 +00:00
Daniel Dickinson 3a49f669f2 bcm63xx: Add board id override fixup.
Add a fixup for the kernel to check the bcm tag of the image for a boardid in
the information1 field, and use that instead of the supplied one by cfe. This
is triggered by a + at the start of the information1 field.

Also modify the image generation to generate apropriately tagged images.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 24189
2010-11-28 22:04:40 +00:00
Daniel Dickinson c51d772e62 bcm63xx: Finalize support for DSL-274xB, rev C2.
The DSL-2740B/DSL-2741B rev C2 support was missing the board definition,
resulting in a kernel panic on boot.
This patch adds it, and also renames the generated image name to properly
reflect that it is for the revision C2, and for both the DSL-2740B and
DSL-2741B.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 24188
2010-11-28 22:04:36 +00:00
Daniel Dickinson 049e59a27b Initial support for Telsey CPVA642 boards (no vlans, no DSL, GPIO led/buttons not known).
SVN-Revision: 24040
2010-11-19 13:41:54 +00:00
Claudio Mignanti 7583fe8668 Add wps button on alice gate
SVN-Revision: 23903
2010-11-06 21:08:44 +00:00
Florian Fainelli ffc84cf75c register uart driver on livebox (#8013)
SVN-Revision: 23653
2010-10-27 10:02:13 +00:00
Florian Fainelli 7bf5647070 refresh 2.6.35 patches
SVN-Revision: 23652
2010-10-27 10:02:08 +00:00
Claudio Mignanti 697d3e7066 Fix nxp_74hc164 driver compile error (builbot)
SVN-Revision: 23623
2010-10-24 16:10:41 +00:00
Florian Fainelli 20d28f7685 fix platform_devices registration
Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com>

SVN-Revision: 23517
2010-10-18 19:49:54 +00:00
Florian Fainelli af0e5167bc add bcm96338W2 e7t board (D-Link 2640U/BRU/C, #7558)
SVN-Revision: 23508
2010-10-17 17:45:50 +00:00
Florian Fainelli a1ea84dbb6 fix SPI driver, move register out of driver code
Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com

SVN-Revision: 23504
2010-10-17 14:09:30 +00:00
Florian Fainelli 265bf2ccb0 refresh patches
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

SVN-Revision: 23502
2010-10-17 14:09:04 +00:00
Florian Fainelli 9f4c51acb7 refresh nb4 support. Register 74x164 device
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

SVN-Revision: 23501
2010-10-17 14:08:57 +00:00
Florian Fainelli 8cbd9d5a2e add spi devices board info int bcm63xx_boards
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

SVN-Revision: 23500
2010-10-17 14:08:51 +00:00
Florian Fainelli b65e494976 add 74x164 SPI chip support
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

SVN-Revision: 23499
2010-10-17 14:08:45 +00:00
Florian Fainelli cd9b90235c backport SPI master with no RXTX support (from 2.6.36)
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

SVN-Revision: 23498
2010-10-17 14:08:39 +00:00
Florian Fainelli d5854cfd4d register earlier extended platform devices
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

SVN-Revision: 23497
2010-10-17 14:08:34 +00:00
Florian Fainelli f4f789f211 register udc and spi devices at the correct init level
SVN-Revision: 23035
2010-09-12 21:23:35 +00:00
Florian Fainelli fab2e77357 refresh 2.6.35 patches
SVN-Revision: 23034
2010-09-12 21:23:29 +00:00
Florian Fainelli 2e343d9760 add 2.6.35 support
SVN-Revision: 22800
2010-08-25 19:56:08 +00:00