ARM: rcar-gen2: Do not setup timer in non-secure mode
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 11 Dec 2013 10:07:42 +0000 (10:07 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 12 Dec 2013 12:58:58 +0000 (21:58 +0900)
commit0fe35077a92ce45acfa2b7259bba516757fb0c3f
treecbe8f4ca4719ee2d358032d475db76ccfa3d3c67
parent893c3f0bc55e749124f14b02eee9510147fefd90
ARM: rcar-gen2: Do not setup timer in non-secure mode

If the system has been started in non-secure mode, then the ARM generic
timer is not configurable during the kernel initialisation. Currently
the only thing we can check for is if the timer has been correctly
configured during the boot process.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Ian Molton <ian.molton@codethink.co.uk>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-rcar-gen2.c