Commit Graph

13 Commits (506544a4312d1ffdb7f2b8b5d0cddded7e24fb84)

Author SHA1 Message Date
Gabor Juhos 478b3b32f4 [kernel] upgrade to 2.6.25.7, and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-17 12:57:04 +00:00
Florian Fainelli 7003112551 Add bcm3350 cpuid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-05 16:19:46 +00:00
Gabor Juhos 3f4ffa1f40 [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
Felix Fietkau 9981bad376 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
Felix Fietkau c2d384520b 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
Felix Fietkau 27ff1d7e6c 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
Felix Fietkau b880126e1d 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
Felix Fietkau 6de2c4ab35 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
Felix Fietkau 05f2649f3a 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
Felix Fietkau c1e80b87ee 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
Felix Fietkau 711aa886ec 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
Felix Fietkau fed20d18b3 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
Felix Fietkau 51d0248390 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