1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-01 06:34:04 +02:00
Commit Graph

11 Commits

Author SHA1 Message Date
juhosg
f2a91858ac [brcm63xx] refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-19 08:33:22 +00:00
nbd
1977b8eebd bcm96345: correct some 6345 specific stuff
This fixes some problems with the 6345 support and adds a macro for CPU
identification that is easier on the eyes. The first thing it does is to not
initialize MPI on the 6345 as it does not have PCI. The second thing it does is
to use a static value for the CPU frequency of the 6345 chip to provide an
accurate timer.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:32:16 +00:00
nbd
29a5029bce bcm963xx: fix cfe detection
The CFE detection failed to account for zero termination.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:32:05 +00:00
nbd
b70a198f89 bcm963xx: add new timer code
This basically selects the new generic MIPS timer code for BCM963xx and
simplifies the timer setup code.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:31:55 +00:00
nbd
b2ce0c07aa bcm963xx: remove obsolete timer code
This removes some code that has been deprecated in kernels >= 2.6.24.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:31:45 +00:00
nbd
a03a3970cf bcm963xx: fix uart isr
The ISR ended up in an endless loop because the TX ISR never got used or masked.
This patch basically makes the TX ISR mask the the TX interrupt when it
encounters it, because it doesn't even use the TX interrupt.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:31:35 +00:00
nbd
2ff6ff3e54 bcm963xx: rewrite irq handling code
This patch adds interrupt handling as on AR7. The old code was very messy and
didn't work too well. It also removes the unused file int-handler.S.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:31:25 +00:00
nbd
741b8902a7 bcm963xx: add missing trailing zero to load address
The load address for BCM963xx is 0x80010000, not 0xf8001000 as in the current
sources. I think this is just a typo, so this patch fixes it (tested on 96345).

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:31:11 +00:00
nbd
123751454e bcm963xx: flashmap support
Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:31:02 +00:00
nbd
dd88c880ed bcm963xx: serial port support
Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:30:49 +00:00
nbd
0fcb7c5182 bcm963xx: board support
Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:30:39 +00:00