Skip to content
Commit 787ddb7c authored by Stefan Roese's avatar Stefan Roese Committed by Luka Perkov
Browse files

arm: mvebu: timer.c: Explicitly move "init_done" var to data section



As reported by Simon Guinot, commit ade741b3
"arm: mvebu: Call timer_init early before PHY and DDR init" breaks
Kirkwood platforms. As the static variable "init_done" is not
available at that early boot time. This patch moves it to explicitly
to the data section, making it available at that time.

Signed-off-by: default avatarStefan Roese <sr@denx.de>
Reported-by: default avatarSimon Guinot <simon.guinot@sequanux.org>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Tested-by: default avatarSimon Guinot <simon.guinot@sequanux.org>
parent cefd7642
Loading
Loading
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