comparison packages/hal/arm/edb7xxx/current/src/edb7xxx_misc.c @ 56:755351606154 ecos-sw-1999-12-01

Merge from eCos master repository on 1999-12-01-18:03:05-GMT
author jlarmour
date Wed, 01 Dec 1999 18:33:37 +0000
parents f10165814f1e
children 7a6ac9edc838
comparison
equal deleted inserted replaced
55:05cdf76cd56c 56:755351606154
131 do_DRAM_refresh(); 131 do_DRAM_refresh();
132 #else 132 #else
133 // Temporary fix for DRAM starvation problem 133 // Temporary fix for DRAM starvation problem
134 if (CYGHWR_HAL_ARM_EDB7XXX_PROCESSOR_CLOCK > 37000) { 134 if (CYGHWR_HAL_ARM_EDB7XXX_PROCESSOR_CLOCK > 37000) {
135 int i; 135 int i;
136 for (i = 0; i < (CYGHWR_HAL_ARM_EDB7XXX_PROCESSOR_CLOCK*2)/50; i++) ; // approx 200 us 136 for (i = 0; i < (CYGHWR_HAL_ARM_EDB7XXX_PROCESSOR_CLOCK*2)/30; i++) ; // approx 250 us
137 } 137 }
138 #endif 138 #endif
139 } 139 }
140 140
141 // Read the current value of the clock, returning the number of hardware "ticks" 141 // Read the current value of the clock, returning the number of hardware "ticks"