ARM: 8263/1: EXYNOS: Add .write_sec outer cache callback for L2C-310
authorTomasz Figa <t.figa@samsung.com>
Thu, 8 Jan 2015 06:53:20 +0000 (07:53 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 16 Jan 2015 14:35:37 +0000 (14:35 +0000)
commit5445b640f38efa9c571584d44df5673804194397
tree012c300bd5bb5270eaf18c5611393ebebb44a33b
parentcf0681ca4cc5c9faa85a2df4c063b926fc09c977
ARM: 8263/1: EXYNOS: Add .write_sec outer cache callback for L2C-310

Exynos4 SoCs equipped with an L2C-310 cache controller and running under
secure firmware require certain registers of aforementioned IP to be
accessed only from secure mode. This means that SMC calls are required
for certain register writes. To handle this, an implementation of
.write_sec and .configure callbacks is provided by this patch.

[added comment and reworked unconditional call to SMC_CMD_L2X0INVALL]

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-exynos/firmware.c
This page took 0.024916 seconds and 5 git commands to generate.