#define RESET_REG_PERFC1 0x34
#define RESET_REG_REV_ID 0x90
+#define WDOG_CTRL_LAST_RESET BIT(31)
+#define WDOG_CTRL_ACTION_MASK 3
+#define WDOG_CTRL_ACTION_NONE 0 /* no action */
+#define WDOG_CTRL_ACTION_GPI 1 /* general purpose interrupt */
+#define WDOG_CTRL_ACTION_NMI 2 /* NMI */
+#define WDOG_CTRL_ACTION_FCR 3 /* full chip reset */
+
#define MISC_INT_DMA BIT(7)
#define MISC_INT_OHCI BIT(6)
#define MISC_INT_PERFC BIT(5)
#define MII1_CTRL_IF_RGMII 0
#define MII1_CTRL_IF_RMII 1
-#include <asm/bootinfo.h>
-#include <linux/init.h>
-
-#define ar71xx_print_cmdline() do { \
- printk(KERN_DEBUG "%s:%d arcs_cmdline:'%s'\n", \
- __FUNCTION__, __LINE__, arcs_cmdline); \
- printk(KERN_DEBUG "%s:%d boot_command_line:'%s'\n", \
- __FUNCTION__, __LINE__, boot_command_line); \
- } while (0)
-
#endif /* __ASSEMBLER__ */
#endif /* __ASM_MACH_AR71XX_H */