projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename CFG_ macros to CONFIG_SYS
[platform/kernel/u-boot.git]
/
cpu
/
arm920t
/
at91rm9200
/
interrupts.c
diff --git
a/cpu/arm920t/at91rm9200/interrupts.c
b/cpu/arm920t/at91rm9200/interrupts.c
index
1054602
..
5f0703c
100644
(file)
--- a/
cpu/arm920t/at91rm9200/interrupts.c
+++ b/
cpu/arm920t/at91rm9200/interrupts.c
@@
-35,8
+35,8
@@
#include <asm/arch/hardware.h>
/*#include <asm/proc/ptrace.h>*/
#include <asm/arch/hardware.h>
/*#include <asm/proc/ptrace.h>*/
-/* the number of clocks per C
FG
_HZ */
-#define TIMER_LOAD_VAL (C
FG_HZ_CLOCK/CFG
_HZ)
+/* the number of clocks per C
ONFIG_SYS
_HZ */
+#define TIMER_LOAD_VAL (C
ONFIG_SYS_HZ_CLOCK/CONFIG_SYS
_HZ)
/* macro to read the 16 bit timer */
#define READ_TIMER (tmr->TC_CV & 0x0000ffff)
/* macro to read the 16 bit timer */
#define READ_TIMER (tmr->TC_CV & 0x0000ffff)
@@
-126,7
+126,7
@@
void udelay_masked (unsigned long usec)
ulong endtime;
signed long diff;
ulong endtime;
signed long diff;
- tmo = C
FG
_HZ_CLOCK / 1000;
+ tmo = C
ONFIG_SYS
_HZ_CLOCK / 1000;
tmo *= usec;
tmo /= 1000;
tmo *= usec;
tmo /= 1000;
@@
-155,7
+155,7
@@
ulong get_tbclk (void)
{
ulong tbclk;
{
ulong tbclk;
- tbclk = C
FG
_HZ;
+ tbclk = C
ONFIG_SYS
_HZ;
return tbclk;
}
return tbclk;
}