Commit Graph

13 Commits

Author SHA1 Message Date
Gabor Juhos
4af6ac74fb upgrade to 2.6.25.7, and refresh patches
SVN-Revision: 11523
2008-06-17 12:57:04 +00:00
Florian Fainelli
6e0427c8a4 Add bcm3350 cpuid
SVN-Revision: 11364
2008-06-05 16:19:46 +00:00
Gabor Juhos
ac897ce5b1 refresh kernel patches
SVN-Revision: 11201
2008-05-19 08:33:22 +00:00
Felix Fietkau
12da51bb3c 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>

SVN-Revision: 11183
2008-05-18 17:32:16 +00:00
Felix Fietkau
ab2b78aabd bcm963xx: fix cfe detection
The CFE detection failed to account for zero termination.

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

SVN-Revision: 11182
2008-05-18 17:32:05 +00:00
Felix Fietkau
be49888f6c 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>

SVN-Revision: 11181
2008-05-18 17:31:55 +00:00
Felix Fietkau
f92e4aaf53 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>

SVN-Revision: 11180
2008-05-18 17:31:45 +00:00
Felix Fietkau
4db60563fc 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>

SVN-Revision: 11179
2008-05-18 17:31:35 +00:00
Felix Fietkau
ca851edf10 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>

SVN-Revision: 11178
2008-05-18 17:31:25 +00:00
Felix Fietkau
289c41604f 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>

SVN-Revision: 11177
2008-05-18 17:31:11 +00:00
Felix Fietkau
17d20bb016 bcm963xx: flashmap support
Signed-off-by: Axel Gembe <ago@bastart.eu.org>

SVN-Revision: 11176
2008-05-18 17:31:02 +00:00
Felix Fietkau
da18b98cff bcm963xx: serial port support
Signed-off-by: Axel Gembe <ago@bastart.eu.org>

SVN-Revision: 11175
2008-05-18 17:30:49 +00:00
Felix Fietkau
97b85443eb bcm963xx: board support
Signed-off-by: Axel Gembe <ago@bastart.eu.org>

SVN-Revision: 11174
2008-05-18 17:30:39 +00:00