[MIPS] Atlas: Remove support code.
[deliverable/linux.git] / arch / mips / mips-boards / generic / reset.c
index 583d468d98a947cfc95e4cd09872911128f1fa34..5f73ff6180eb5e737b822906c515ae9a07e92c47 100644 (file)
 #include <asm/io.h>
 #include <asm/reboot.h>
 #include <asm/mips-boards/generic.h>
-#if defined(CONFIG_MIPS_ATLAS)
-#include <asm/mips-boards/atlas.h>
-#endif
 
 static void mips_machine_restart(char *command);
 static void mips_machine_halt(void);
-#if defined(CONFIG_MIPS_ATLAS)
-static void atlas_machine_power_off(void);
-#endif
 
 static void mips_machine_restart(char *command)
 {
@@ -53,22 +47,11 @@ static void mips_machine_halt(void)
        __raw_writel(GORESET, softres_reg);
 }
 
-#if defined(CONFIG_MIPS_ATLAS)
-static void atlas_machine_power_off(void)
-{
-       unsigned int __iomem *psustby_reg = ioremap(ATLAS_PSUSTBY_REG, sizeof(unsigned int));
-
-       writew(ATLAS_GOSTBY, psustby_reg);
-}
-#endif
 
 void mips_reboot_setup(void)
 {
        _machine_restart = mips_machine_restart;
        _machine_halt = mips_machine_halt;
-#if defined(CONFIG_MIPS_ATLAS)
-       pm_power_off = atlas_machine_power_off;
-#endif
 #if defined(CONFIG_MIPS_MALTA) || defined(CONFIG_MIPS_SEAD)
        pm_power_off = mips_machine_halt;
 #endif
This page took 0.026132 seconds and 5 git commands to generate.