diff options
Diffstat (limited to 'arch/mips/sibyte/cfe/setup.c')
-rw-r--r-- | arch/mips/sibyte/cfe/setup.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/mips/sibyte/cfe/setup.c b/arch/mips/sibyte/cfe/setup.c index 51898dd1304a..dbd6e6fdd3f9 100644 --- a/arch/mips/sibyte/cfe/setup.c +++ b/arch/mips/sibyte/cfe/setup.c | |||
@@ -29,8 +29,8 @@ | |||
29 | #include <asm/reboot.h> | 29 | #include <asm/reboot.h> |
30 | #include <asm/sibyte/board.h> | 30 | #include <asm/sibyte/board.h> |
31 | 31 | ||
32 | #include "cfe_api.h" | 32 | #include <asm/fw/cfe/cfe_api.h> |
33 | #include "cfe_error.h" | 33 | #include <asm/fw/cfe/cfe_error.h> |
34 | 34 | ||
35 | /* Max ram addressable in 32-bit segments */ | 35 | /* Max ram addressable in 32-bit segments */ |
36 | #ifdef CONFIG_64BIT | 36 | #ifdef CONFIG_64BIT |
@@ -309,7 +309,7 @@ void __init prom_init(void) | |||
309 | } | 309 | } |
310 | 310 | ||
311 | #ifdef CONFIG_KGDB | 311 | #ifdef CONFIG_KGDB |
312 | if ((arg = strstr(arcs_cmdline,"kgdb=duart")) != NULL) | 312 | if ((arg = strstr(arcs_cmdline, "kgdb=duart")) != NULL) |
313 | kgdb_port = (arg[10] == '0') ? 0 : 1; | 313 | kgdb_port = (arg[10] == '0') ? 0 : 1; |
314 | else | 314 | else |
315 | kgdb_port = 1; | 315 | kgdb_port = 1; |
@@ -339,7 +339,6 @@ void __init prom_init(void) | |||
339 | /* Not sure this is needed, but it's the safe way. */ | 339 | /* Not sure this is needed, but it's the safe way. */ |
340 | arcs_cmdline[CL_SIZE-1] = 0; | 340 | arcs_cmdline[CL_SIZE-1] = 0; |
341 | 341 | ||
342 | mips_machgroup = MACH_GROUP_SIBYTE; | ||
343 | prom_meminit(); | 342 | prom_meminit(); |
344 | } | 343 | } |
345 | 344 | ||