]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/sh/kernel/setup.c
Merge branch 'topic/azt3328' into for-linus
[mv-sheeva.git] / arch / sh / kernel / setup.c
index 00086b234278c980fff6260341b75db8c36c2307..dd38338553ef5484306907ae7465e36f93afa7c6 100644 (file)
@@ -420,6 +420,18 @@ void __init setup_arch(char **cmdline_p)
 #endif
 }
 
+/* processor boot mode configuration */
+int generic_mode_pins(void)
+{
+       pr_warning("generic_mode_pins(): missing mode pin configuration\n");
+       return 0;
+}
+
+int test_mode_pin(int pin)
+{
+       return sh_mv.mv_mode_pins() & pin;
+}
+
 static const char *cpu_name[] = {
        [CPU_SH7201]    = "SH7201",
        [CPU_SH7203]    = "SH7203",     [CPU_SH7263]    = "SH7263",