Skip to content
Snippets Groups Projects
Commit 60d1ea94 authored by Po-Yu Chuang's avatar Po-Yu Chuang Committed by Albert ARIBAUD
Browse files

arm: a320: fix broken timer


timer.c used static data and are called before relocation.
Move all static variables into global_data structure. Also cleanup
timer.c from unused stubs and make it truly use 64 bit tick values.

Remove reset_timer_masked() get_timer_masked()

reference: arch/arm/cpu/arm926ejs/at91/timer.c

Based on Reinhard Meyer <u-boot@emk-elektronik.de>'s patches
5dca710a
cfff263f

Signed-off-by: default avatarPo-Yu Chuang <ratbert@faraday-tech.com>
Tested-by: default avatarMacpaul Lin <macpaul@gmail.com>
parent a3e09cc2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment