Skip to content
Snippets Groups Projects
Commit f9d42d82 authored by Anatolij Gustschin's avatar Anatolij Gustschin Committed by Stefano Babic
Browse files

spl: do not repeat timer init on i.MX6


The GPT timer was already initialised in board_init_f() as
it is needed in dram init. Do not repeat timer init in
board_init_r().

Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
Acked-by: default avatarStefano Babic <sbabic@denx.de>
parent ae64226d
No related branches found
No related tags found
No related merge requests found
...@@ -379,7 +379,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2) ...@@ -379,7 +379,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
if (spl_init()) if (spl_init())
hang(); hang();
} }
#ifndef CONFIG_PPC #if !defined(CONFIG_PPC) && !defined(CONFIG_ARCH_MX6)
/* /*
* timer_init() does not exist on PPC systems. The timer is initialized * timer_init() does not exist on PPC systems. The timer is initialized
* and enabled (decrementer) in interrupt_init() here. * and enabled (decrementer) in interrupt_init() here.
......
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