24 #include <linux/i2c.h>
31 #include <mach/hardware.h>
32 #include <mach/platform.h>
42 for (i = 0; i < 4; i++)
62 static void lpc32xx_watchdog_reset(
void)
76 #define LPC32XX_IRAM_BANK_SIZE SZ_128K
81 u32 savedval1, savedval2;
82 void __iomem *iramptr1, *iramptr2;
89 if (savedval1 == savedval2) {
108 u32 ilfreq,
p,
m,
n, fcco, fref, cfreq;
130 cfreq = (m * ilfreq) / (2 * p * n);
131 fcco = (m * ilfreq) / n;
136 cfreq = (m * ilfreq) / n;
137 fcco = (m * ilfreq) / (n * 2 * p);
143 cfreq = (m * ilfreq) / n;
150 cfreq = ilfreq / (2 *
p);
164 if (fcco < 156000000 || fcco > 320000000)
167 if (fref < 1000000 || fref > 27000000)
215 lpc32xx_watchdog_reset();
228 static int __init lpc32xx_check_uid(
void)
235 uid[3], uid[2], uid[1], uid[0]);