mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
ARM: highbank: avoid bss write in timer_init
The timer_init function is called before relocation and writes to bss data were corrupting relocation data. Fix this by removing the call to reset_timer_masked. The initial timer count should be 0 or near 0 anyway, so initializing the variables are not needed. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
This commit is contained in:
parent
714d1f5da5
commit
0f7cf3803f
1 changed files with 0 additions and 2 deletions
|
@ -46,8 +46,6 @@ int timer_init(void)
|
|||
writel(SYSTIMER_EN | SYSTIMER_32BIT | SYSTIMER_PRESC_256,
|
||||
&systimer_base->timer0control);
|
||||
|
||||
reset_timer_masked();
|
||||
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue