Changeset 9415
- Timestamp:
- 04/13/08 15:35:54 (5 years ago)
- File:
-
- 1 edited
-
src/router/services/tools/overclock_atheros.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/router/services/tools/overclock_atheros.c
r9414 r9415 213 213 putc (0xb, in); //0x2c for 220 mhz 0x30 for 240 mhz 214 214 } 215 216 217 unsigned int myclk = clk * 1000000; 218 unsigned short part1,part2; 219 part1 = myclk >> 16; 220 part2 = myclk & 0x0000ffff; 221 222 fprintf(stderr,"patch uart init with %X:%X\n",part1,part2); 223 fseek (in, 0xed16, SEEK_SET); 224 fwrite(&part1,2,1,in); 225 fseek (in, 0xed1a, SEEK_SET); 226 fwrite(&part2,2,1,in); 227 215 228 fclose (in); 216 229 eval ("mtd", "-f", "write", "/tmp/boot", "bdata");
Note: See TracChangeset
for help on using the changeset viewer.
