Changeset 12385 for ar5315_microredboot/microredboot/boot/src/misc_lzma.c
- Timestamp:
- 06/26/09 16:09:38 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
ar5315_microredboot/microredboot/boot/src/misc_lzma.c
r12382 r12385 269 269 pb->argv[0] = pcmd; 270 270 pb->argv[1] = ++pcmd; 271 pcmd[0] = 0; //terminate, no commandline271 pcmd[0] = 0; //terminate, no user commandline 272 272 273 273 void (*tt) (int a, char **b, void *c); … … 285 285 disable_watchdog(); 286 286 arch_decomp_setup(); 287 /* initialize clock */ 288 HAL_CLOCK_INITIALIZE(RTC_PERIOD); 287 289 printf("MicroRedBoot v1.3, (c) 2009 DD-WRT.COM (%s)\n", __DATE__); 288 290 printf("CPU Clock: %dMhz\n", cpu_frequency() / 1000000); … … 321 323 puts("Booting Linux\n"); 322 324 resettrigger = 1; 323 /* initialize clock */324 HAL_CLOCK_INITIALIZE(RTC_PERIOD);325 325 326 326 /* important, enable ethernet bus, if the following lines are not initialized linux will not be able to use the ethernet mac, taken from redboot source */
