Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/io.h>
#include <linux/pm.h>
#include <asm/reboot.h>
#include <linux/export.h>
#include <lantiq_soc.h>
Go to the source code of this file.
Macros | |
#define | SYS1_CPU0RS 0x0040 |
#define | CPU0RS_MASK 0x0003 |
#define | SYS1_BM 0x00a0 |
#define | BM_MASK 0x0005 |
#define | BOOT_REG_BASE (KSEG1 | 0x1F200000) |
#define | BOOT_PW1_REG (BOOT_REG_BASE | 0x20) |
#define | BOOT_PW2_REG (BOOT_REG_BASE | 0x24) |
#define | BOOT_PW1 0x4C545100 |
#define | BOOT_PW2 0x0051544C |
#define | WDT_REG_BASE (KSEG1 | 0x1F8803F0) |
#define | WDT_PW1 0x00BE0000 |
#define | WDT_PW2 0x00DC0000 |
Functions | |
unsigned char | ltq_boot_select (void) |
int | ltq_reset_cause (void) |
EXPORT_SYMBOL_GPL (ltq_reset_cause) | |
arch_initcall (mips_reboot_setup) | |
#define BOOT_PW1_REG (BOOT_REG_BASE | 0x20) |
#define BOOT_PW2_REG (BOOT_REG_BASE | 0x24) |
arch_initcall | ( | mips_reboot_setup | ) |
EXPORT_SYMBOL_GPL | ( | ltq_reset_cause | ) |