]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/mips/powertv/reset.c
rt2x00: rt2800pci: use module_pci_driver macro
[karo-tx-linux.git] / arch / mips / powertv / reset.c
index 0007652cb774afbaddbe8a494ca08ed76f8999d7..11c32fbf2784657ec2afc47c8f098f00c0f7fa82 100644 (file)
 #include <linux/io.h>
 #include <asm/reboot.h>                        /* Not included by linux/reboot.h */
 
-#ifdef CONFIG_BOOTLOADER_DRIVER
-#include <asm/mach-powertv/kbldr.h>
-#endif
-
 #include <asm/mach-powertv/asic_regs.h>
 #include "reset.h"
 
 static void mips_machine_restart(char *command)
 {
-#ifdef CONFIG_BOOTLOADER_DRIVER
-       /*
-        * Call the bootloader's reset function to ensure
-        * that persistent data is flushed before hard reset
-        */
-       kbldr_SetCauseAndReset();
-#else
        writel(0x1, asic_reg_addr(watchdog));
-#endif
 }
 
 void mips_reboot_setup(void)