svn_rev_083
mx31/move_include_asm-arm_arch-arm1136_to_arch-omap24xx.diff
This commit is contained in:
parent
7259ab1f66
commit
dd243ada8a
|
@ -57,8 +57,8 @@ uint32_t clocksource_hz2mult(uint32_t hz, uint32_t shift_constant)
|
|||
|
||||
int is_timeout(uint64_t start_ns, uint64_t time_offset_ns)
|
||||
{
|
||||
if (ctrlc ())
|
||||
return -1;
|
||||
// if (ctrlc ())
|
||||
// return -1;
|
||||
|
||||
if (start_ns + time_offset_ns < get_time_ns())
|
||||
return 1;
|
||||
|
@ -70,9 +70,9 @@ int udelay(unsigned long usecs)
|
|||
{
|
||||
uint64_t start = get_time_ns();
|
||||
|
||||
while(!is_timeout(start, usecs * 1000))
|
||||
if (ctrlc ())
|
||||
return -1;
|
||||
while(!is_timeout(start, usecs * 1000));
|
||||
// if (ctrlc ())
|
||||
// return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#ifndef __CONFIG_H
|
||||
#define __CONFIG_H
|
||||
|
||||
//#define CONFIG_SKIP_LOWLEVEL_INIT
|
||||
#define CONFIG_SKIP_LOWLEVEL_INIT
|
||||
|
||||
/* ARM asynchronous clock */
|
||||
#define AT91C_MAIN_CLOCK 179712000 /* from 18.432 MHz crystal (18432000 / 4 * 39) */
|
||||
|
|
Loading…
Reference in New Issue