]> err.no Git - linux-2.6/commitdiff
m68k: remove AP1000 code
authorAdrian Bunk <bunk@kernel.org>
Thu, 17 Jul 2008 19:16:15 +0000 (21:16 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 21 Jul 2008 00:24:38 +0000 (17:24 -0700)
Unless I miss something that's code for a sparc machine even the sparc
code no longer supports that got copied to m68k when these files were
copied.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m68k/sun3/prom/console.c
arch/m68k/sun3/prom/init.c
arch/m68k/sun3/prom/printf.c
include/asm-m68k/oplib.h

index 5812560b70f820c5895fbb4bfb41e5ea91a247d4..2bcb6e4bfe54a0c11eb5639e8b1286ebd5f845d0 100644 (file)
@@ -104,8 +104,6 @@ prom_query_input_device()
                                return PROMDEV_ITTYB;
                }
                return PROMDEV_I_UNK;
-       case PROM_AP1000:
-               return PROMDEV_I_UNK;
        };
 }
 #endif
@@ -166,8 +164,6 @@ prom_query_output_device()
                        };
                }
                break;
-       case PROM_AP1000:
-               return PROMDEV_I_UNK;
        };
        return PROMDEV_O_UNK;
 }
index 5f85681af5aa49aa330aff3e94499e2ef9950004..d8e6349336b4f54e9f03d26ebfc095821f1da30a 100644 (file)
@@ -31,11 +31,6 @@ extern void prom_ranges_init(void);
 
 void __init prom_init(struct linux_romvec *rp)
 {
-#ifdef CONFIG_AP1000
-       extern struct linux_romvec *ap_prom_init(void);
-       rp = ap_prom_init();
-#endif
-
        romvec = rp;
 #ifndef CONFIG_SUN3
        switch(romvec->pv_romvers) {
@@ -53,10 +48,6 @@ void __init prom_init(struct linux_romvec *rp)
                prom_printf("PROMLIB: Sun IEEE Prom not supported yet\n");
                prom_halt();
                break;
-       case 42: /* why not :-) */
-               prom_vers = PROM_AP1000;
-               break;
-
        default:
                prom_printf("PROMLIB: Bad PROM version %d\n",
                            romvec->pv_romvers);
index c8cf98d97f2e1c2b55a44ad5596ba80b63ad7cd1..df85018f487ac1a5ab94774a5d7a00ecf5f10243 100644 (file)
@@ -37,10 +37,6 @@ prom_printf(char *fmt, ...)
 
        bptr = ppbuf;
 
-#ifdef CONFIG_AP1000
-        ap_write(1,bptr,strlen(bptr));
-#else
-
 #ifdef CONFIG_KGDB
        if (kgdb_initialized) {
                printk("kgdb_initialized = %d\n", kgdb_initialized);
@@ -53,7 +49,6 @@ prom_printf(char *fmt, ...)
 
                prom_putchar(ch);
        }
-#endif
 #endif
        va_end(args);
        return;
index 9c7953a594502cf24a1e523a500c0e21378754ce..f082d03336bde13163b2b0ea715c20c00bb62a5c 100644 (file)
@@ -19,7 +19,6 @@ enum prom_major_version {
        PROM_V2,      /* sun4c and early sun4m V2 prom */
        PROM_V3,      /* sun4m and later, up to sun4d/sun4e machines V3 */
        PROM_P1275,   /* IEEE compliant ISA based Sun PROM, only sun4u */
-        PROM_AP1000,  /* actually no prom at all */
 };
 
 extern enum prom_major_version prom_vers;