提交 fe7eb5d8 编写于 作者: W Wolfgang Denk

Cleanup

上级 74f4304e
......@@ -49,4 +49,3 @@ distclean: clean
-include .depend
#########################################################################
......@@ -557,8 +557,7 @@ void udelay (unsigned long usec)
tmp = get_timer_masked(); /* get current timestamp */
tmo += tmp; /* wake up timestamp */
while (get_timer_masked () < tmo)/* loop till event */
{
while (get_timer_masked () < tmo) { /* loop till event */
/*NOP*/;
}
}
......@@ -578,8 +577,7 @@ ulong get_timer_masked (void)
{
ulong now = READ_TIMER; /* current count */
if(now > lastdec)
{
if (now > lastdec) {
/* Must have wrapped */
total_count += lastdec + TIMER_LOAD_VAL + 1 - now;
} else {
......
......@@ -27,4 +27,3 @@
.globl memsetup
memsetup:
mov pc,lr
......@@ -42,4 +42,3 @@ reset_cpu:
reset_failed:
b reset_failed
......@@ -219,8 +219,7 @@ void udelay (unsigned long usec)
tmp = get_timer_masked(); /* get current timestamp */
tmo += tmp; /* form target timestamp */
while (get_timer_masked () < tmo)/* loop till event */
{
while (get_timer_masked () < tmo) {/* loop till event */
/*NOP*/;
}
}
......@@ -240,8 +239,7 @@ ulong get_timer_masked (void)
/* get current count */
unsigned long long now = (unsigned long long)READ_TIMER;
if(now > lastdec)
{
if(now > lastdec) {
/* Must have wrapped */
total_count += lastdec + TIMER_LOAD_VAL + 1 - now;
} else {
......
......@@ -27,4 +27,3 @@
.globl memsetup
memsetup:
mov pc,lr
......@@ -211,4 +211,3 @@ copy_vec:
ldmfd r13!,{r4-r10,pc} /* back to caller */
#endif /* #ifdef CONFIG_CM_REMAP */
......@@ -414,4 +414,3 @@ rstctl1:
.word 0xfffece10
#endif /* #ifdef CONFIG_INTEGRATOR */
......@@ -41,4 +41,3 @@ $(LIB): $(OBJS)
sinclude .depend
#########################################################################
......@@ -161,4 +161,3 @@ int icache_status (void)
{
return (read_p15_c1 () & C1_IC) != 0;
}
......@@ -61,6 +61,3 @@ of the Integrator board itself, has been placed in
board/integrator<>/platform.S
board/integrator<>/integrator<>.c
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册