ARM: PRIMA2: mv timer to timer-prima2 as we will add timer-marco
authorBarry Song <Baohua.Song@csr.com>
Thu, 20 Dec 2012 09:33:49 +0000 (17:33 +0800)
committerBarry Song <Barry.Song@csr.com>
Tue, 22 Jan 2013 11:38:24 +0000 (19:38 +0800)
commit0d5983a62ad5749068a507e0c579af88f4753261
tree6931850f61dc121718e1de05ca438263c409696c
parentea38960fb63ab5cce2442fa88f5041bcfb1ae8e3
ARM: PRIMA2: mv timer to timer-prima2 as we will add timer-marco

Marco timer has different timer IP with prima2, so rename the current timer
to timer-prima2 so that we can add timer-marco.

at the same time, if we don't find prima2 timer node in dt, don't panic the
system as we will make prima2 and marco use same kernel image.

Signed-off-by: Barry Song <Baohua.Song@csr.com>
arch/arm/mach-prima2/Makefile
arch/arm/mach-prima2/common.c
arch/arm/mach-prima2/common.h
arch/arm/mach-prima2/timer-prima2.c [moved from arch/arm/mach-prima2/timer.c with 98% similarity]