ARM: shmobile: Add shared shmobile_init_delay()
authorMagnus Damm <damm@opensource.se>
Thu, 6 Mar 2014 03:28:24 +0000 (12:28 +0900)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:14:52 +0000 (11:14 +0100)
commit349ce8e11d710640d765c12799403fdf8bdfbf2a
tree52cb8a3710d02b6583c681503715cf38e2ea93d9
parent917eb2d85c6b1d301d75977434fd0cbb4e987e78
ARM: shmobile: Add shared shmobile_init_delay()

Introduce shmobile_init_delay() that gets CPU specific
parameters from DT and sets up the early delay from
there. This allows us to both remove frequency information
from the C code and consolidate existing code.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit c39dae380b4a11f1050a2ef6607598dcbe0541be)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/include/mach/common.h
arch/arm/mach-shmobile/timer.c