diff options
Diffstat (limited to 'arch/sh/kernel/setup.c')
-rw-r--r-- | arch/sh/kernel/setup.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index 00086b234278..050131eec773 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c | |||
@@ -420,6 +420,18 @@ void __init setup_arch(char **cmdline_p) | |||
420 | #endif | 420 | #endif |
421 | } | 421 | } |
422 | 422 | ||
423 | /* processor boot mode configuration */ | ||
424 | int generic_mode_pins(void) | ||
425 | { | ||
426 | pr_warning("generic_mode_pins(): missing mode pin configuration\n"); | ||
427 | return 0; | ||
428 | } | ||
429 | |||
430 | int test_mode_pin(int pin) | ||
431 | { | ||
432 | return sh_mv.mv_mode_pins() & (1 << pin); | ||
433 | } | ||
434 | |||
423 | static const char *cpu_name[] = { | 435 | static const char *cpu_name[] = { |
424 | [CPU_SH7201] = "SH7201", | 436 | [CPU_SH7201] = "SH7201", |
425 | [CPU_SH7203] = "SH7203", [CPU_SH7263] = "SH7263", | 437 | [CPU_SH7203] = "SH7203", [CPU_SH7263] = "SH7263", |