]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: PRIMA2: rstc: enable the support for Marco
authorBarry Song <Baohua.Song@csr.com>
Thu, 20 Dec 2012 09:40:47 +0000 (17:40 +0800)
committerBarry Song <Barry.Song@csr.com>
Tue, 22 Jan 2013 11:38:48 +0000 (19:38 +0800)
commit0ecb40ca35b093aa38f8b94069b6cbd3c7a25831
tree4084daa78dc410ae46f6c9ae037dc15e776f214b
parent0d5983a62ad5749068a507e0c579af88f4753261
ARM: PRIMA2: rstc: enable the support for Marco

marco has SET/CLEAR registers pair for rstc to avoid read-modify-write,
this patch detects the mach typer and access registers based on SoC.

Signed-off-by: Barry Song <Baohua.Song@csr.com>
arch/arm/mach-prima2/rstc.c