21 #include <linux/time.h>
23 #include <asm/reboot.h>
28 static void ar7_machine_restart(
char *
command)
35 static void ar7_machine_halt(
void)
41 static void ar7_machine_power_off(
void)
46 writel(power_state, power_reg);
53 u16 titan_variant_id = titan_chip_id();
57 return "TI AR7 (TNETD7100)";
59 return "TI AR7 (TNETD7200)";
61 return "TI AR7 (TNETD7300)";
63 switch (titan_variant_id) {
65 return "TI AR7 (TNETV1050)";
67 return "TI AR7 (TNETV1055)";
69 return "TI AR7 (TNETV1056)";
71 return "TI AR7 (TNETV1060)";
74 return "TI AR7 (unknown)";
78 static int __init ar7_init_console(
void)
99 panic(
"Can't remap IO base!");
100 set_io_port_base(io_base);