4 #include <linux/kernel.h>
7 #include <mach/hardware.h>
10 void omap1_restart(char mode
, const char *cmd
)
13 * Workaround for 5912/1611b bug mentioned in sprz209d.pdf p. 28
14 * "Global Software Reset Affects Traffic Controller Frequency".
16 if (cpu_is_omap5912()) {
17 omap_writew(omap_readw(DPLL_CTL
) & ~(1 << 4), DPLL_CTL
);
18 omap_writew(0x8, ARM_RSTCT1
);
21 omap_writew(1, ARM_RSTCT1
);