diff options
author | Chris Dearman <chris@mips.com> | 2007-09-21 09:50:08 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-04-28 12:14:26 -0400 |
commit | 308402445e005a039a72b315cd9b5ceeaea0063c (patch) | |
tree | b7eed05100987528df9df9d793b78373e8754ee0 /arch | |
parent | bdc94eb41e6090961695747508ac7e33ea5d6c08 (diff) |
[MIPS] Add CoreFPGA5 support; distinguish between SOCit/ROCit
Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/mips-boards/generic/init.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/arch/mips/mips-boards/generic/init.c b/arch/mips/mips-boards/generic/init.c index 1695dca5506b..07671fb9074f 100644 --- a/arch/mips/mips-boards/generic/init.c +++ b/arch/mips/mips-boards/generic/init.c | |||
@@ -295,15 +295,21 @@ void __init prom_init(void) | |||
295 | break; | 295 | break; |
296 | case MIPS_REVISION_CORID_CORE_MSC: | 296 | case MIPS_REVISION_CORID_CORE_MSC: |
297 | case MIPS_REVISION_CORID_CORE_FPGA2: | 297 | case MIPS_REVISION_CORID_CORE_FPGA2: |
298 | case MIPS_REVISION_CORID_CORE_FPGA3: | ||
299 | case MIPS_REVISION_CORID_CORE_FPGA4: | ||
300 | case MIPS_REVISION_CORID_CORE_24K: | 298 | case MIPS_REVISION_CORID_CORE_24K: |
301 | case MIPS_REVISION_CORID_CORE_EMUL_MSC: | 299 | /* |
300 | * SOCit/ROCit support is essentially identical | ||
301 | * but make an attempt to distinguish them | ||
302 | */ | ||
302 | mips_revision_sconid = MIPS_REVISION_SCON_SOCIT; | 303 | mips_revision_sconid = MIPS_REVISION_SCON_SOCIT; |
303 | break; | 304 | break; |
305 | case MIPS_REVISION_CORID_CORE_FPGA3: | ||
306 | case MIPS_REVISION_CORID_CORE_FPGA4: | ||
307 | case MIPS_REVISION_CORID_CORE_FPGA5: | ||
308 | case MIPS_REVISION_CORID_CORE_EMUL_MSC: | ||
304 | default: | 309 | default: |
305 | mips_display_message("CC Error"); | 310 | /* See above */ |
306 | while (1); /* We die here... */ | 311 | mips_revision_sconid = MIPS_REVISION_SCON_ROCIT; |
312 | break; | ||
307 | } | 313 | } |
308 | } | 314 | } |
309 | 315 | ||