Commit Graph

9 Commits (43aaef8702750e4f70bd1d8fda7053f8d21e0070)

Author SHA1 Message Date
Florian Fainelli c6242377bd [brcm63xx] improve BCM6345 support
- runtime detect the amount of memory available
- define EBI_BASE as MPI_BASE to get rid of chip-select specific hacks
- fix GPIO control

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-02 18:55:46 +00:00
Jonas Gorski 66421cdc87 bcm63xx: Fix SPI commands and register offsets for BCM6348
In 240-spi.patch, spi registers for bcm6348 were all messed up. This patch fixes that.
It also fixes some spi commands for all bcm63xx.

Signed-off-by: Anthony Blakemore <stokie-ant@raverbaby.co.uk>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-25 19:52:47 +00:00
Florian Fainelli 1218fd06fb [brcm63xx] fix GEN_SPI_RSET_BASE macro (#9697)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-13 09:33:11 +00:00
Florian Fainelli fa61065873 [brcm63xx] remove gpiodev, prefer sysfs gpio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-25 19:26:17 +00:00
Florian Fainelli 46c6ee1ca7 [brcm63xx] use macros to generate SPI registers table and switches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-21 10:05:51 +00:00
Florian Fainelli d2e81efd80 [brcm63xx] dev-spi.c checks for running CPU, not board code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-19 20:46:00 +00:00
Florian Fainelli 35faebfc51 [brcm63xx] fixup patches after r27234
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-19 20:28:38 +00:00
Florian Fainelli 0103e97008 [brcm63xx] switch to 2.6.39
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-19 20:12:45 +00:00
Florian Fainelli 8cdbf2c4b6 bcm63xx: Add support for 2.6.39
Add support for Kernel 2.6.39. Boots fine on a BCM6358.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-27 09:54:52 +00:00