diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-29 14:13:10 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-29 14:13:10 -0400 |
| commit | b77d643ced576bdd1e918aebda869de74696cde9 (patch) | |
| tree | bb5d708f4bbb48461923a28e63a8cf8bdd477dd7 /arch/mips/bcm63xx/cpu.c | |
| parent | b4020c1b198c0f0c0b0ff0cfdd824a26b93edd6f (diff) | |
| parent | 64575f918f3279d8487cf670dbefa956ce16a526 (diff) | |
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus: (46 commits)
ftrace/MIPS: Enable C Version of recordmcount
ftrace/MIPS: Add module support for C version of recordmcount
ftrace/MIPS: Add MIPS64 support for C version of recordmcount
MIPS: Make TASK_SIZE reflect proper size for both 32 and 64 bit processes.
MIPS: Allow UserLocal on MIPS_R1 processors
MIPS: Honor L2 bypass bit
MIPS: Add BMIPS CP0 register definitions
MIPS: Add BMIPS processor types to Kconfig
MIPS: Decouple BMIPS CPU support from bcm47xx/bcm63xx SoC code
MIPS: Add support for hardware performance events (mipsxx)
MIPS: Perf-events: Add callchain support
MIPS: add support for hardware performance events (skeleton)
MIPS: add support for software performance events
MIPS: define local_xchg from xchg_local to atomic_long_xchg
MIPS: AR7: Add support for Titan (TNETV10xx) SoC variant
MIPS: AR7: Initialize GPIO earlier
MIPS: Add platform device and Kconfig for Octeon USB EHCI / OHCI
USB: Add EHCI and OHCH glue for OCTEON II SOCs.
MIPS: Octeon: Add register definitions for EHCI / OHCI USB glue logic.
MIPS: Octeon: Apply CN63XXP1 errata workarounds.
...
Diffstat (limited to 'arch/mips/bcm63xx/cpu.c')
| -rw-r--r-- | arch/mips/bcm63xx/cpu.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/arch/mips/bcm63xx/cpu.c b/arch/mips/bcm63xx/cpu.c index cbb7caf86d77..7c7e4d4486ce 100644 --- a/arch/mips/bcm63xx/cpu.c +++ b/arch/mips/bcm63xx/cpu.c | |||
| @@ -10,7 +10,9 @@ | |||
| 10 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
| 11 | #include <linux/module.h> | 11 | #include <linux/module.h> |
| 12 | #include <linux/cpu.h> | 12 | #include <linux/cpu.h> |
| 13 | #include <asm/cpu.h> | ||
| 13 | #include <asm/cpu-info.h> | 14 | #include <asm/cpu-info.h> |
| 15 | #include <asm/mipsregs.h> | ||
| 14 | #include <bcm63xx_cpu.h> | 16 | #include <bcm63xx_cpu.h> |
| 15 | #include <bcm63xx_regs.h> | 17 | #include <bcm63xx_regs.h> |
| 16 | #include <bcm63xx_io.h> | 18 | #include <bcm63xx_io.h> |
| @@ -296,26 +298,24 @@ void __init bcm63xx_cpu_init(void) | |||
| 296 | expected_cpu_id = 0; | 298 | expected_cpu_id = 0; |
| 297 | 299 | ||
| 298 | switch (c->cputype) { | 300 | switch (c->cputype) { |
| 299 | /* | 301 | case CPU_BMIPS3300: |
| 300 | * BCM6338 as the same PrId as BCM3302 see arch/mips/kernel/cpu-probe.c | 302 | if ((read_c0_prid() & 0xff00) == PRID_IMP_BMIPS3300_ALT) { |
| 301 | */ | 303 | expected_cpu_id = BCM6348_CPU_ID; |
| 302 | case CPU_BCM3302: | 304 | bcm63xx_regs_base = bcm96348_regs_base; |
| 303 | __cpu_name[cpu] = "Broadcom BCM6338"; | 305 | bcm63xx_irqs = bcm96348_irqs; |
| 304 | expected_cpu_id = BCM6338_CPU_ID; | 306 | } else { |
| 305 | bcm63xx_regs_base = bcm96338_regs_base; | 307 | __cpu_name[cpu] = "Broadcom BCM6338"; |
| 306 | bcm63xx_irqs = bcm96338_irqs; | 308 | expected_cpu_id = BCM6338_CPU_ID; |
| 309 | bcm63xx_regs_base = bcm96338_regs_base; | ||
| 310 | bcm63xx_irqs = bcm96338_irqs; | ||
| 311 | } | ||
| 307 | break; | 312 | break; |
| 308 | case CPU_BCM6345: | 313 | case CPU_BMIPS32: |
| 309 | expected_cpu_id = BCM6345_CPU_ID; | 314 | expected_cpu_id = BCM6345_CPU_ID; |
| 310 | bcm63xx_regs_base = bcm96345_regs_base; | 315 | bcm63xx_regs_base = bcm96345_regs_base; |
| 311 | bcm63xx_irqs = bcm96345_irqs; | 316 | bcm63xx_irqs = bcm96345_irqs; |
| 312 | break; | 317 | break; |
| 313 | case CPU_BCM6348: | 318 | case CPU_BMIPS4350: |
| 314 | expected_cpu_id = BCM6348_CPU_ID; | ||
| 315 | bcm63xx_regs_base = bcm96348_regs_base; | ||
| 316 | bcm63xx_irqs = bcm96348_irqs; | ||
| 317 | break; | ||
| 318 | case CPU_BCM6358: | ||
| 319 | expected_cpu_id = BCM6358_CPU_ID; | 319 | expected_cpu_id = BCM6358_CPU_ID; |
| 320 | bcm63xx_regs_base = bcm96358_regs_base; | 320 | bcm63xx_regs_base = bcm96358_regs_base; |
| 321 | bcm63xx_irqs = bcm96358_irqs; | 321 | bcm63xx_irqs = bcm96358_irqs; |
