summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/mach-exynos4-dt.c
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2012-12-11 13:58:43 +0900
committerKukjin Kim <kgene.kim@samsung.com>2013-04-09 01:52:30 +0900
commitbca28f8f6b93fc1fb000d8695e59266d307aceab (patch)
tree730be4b040f57319ee5266d404107d618ad49282 /arch/arm/mach-exynos/mach-exynos4-dt.c
parenta4a18d2b3a9245ac43eec1e2eddd6b929b8f0bb9 (diff)
downloadlinux-bca28f8f6b93fc1fb000d8695e59266d307aceab.tar.gz
linux-bca28f8f6b93fc1fb000d8695e59266d307aceab.tar.bz2
linux-bca28f8f6b93fc1fb000d8695e59266d307aceab.zip
ARM: EXYNOS: Add support for Exynos secure firmware
Some Exynos-based boards contain secure firmware and must use firmware operations to set up some hardware. This patch adds firmware operations for Exynos secure firmware and a way for board code and device tree to specify that they must be used. Example of use: In board code: ...MACHINE_START(...) /* ... */ .init_early = exynos_firmware_init, /* ... */ MACHINE_END In device tree: / { /* ... */ firmware@0203F000 { compatible = "samsung,secure-firmware"; reg = <0x0203F000 0x1000>; }; /* ... */ }; Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/mach-exynos4-dt.c')
-rw-r--r--arch/arm/mach-exynos/mach-exynos4-dt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/mach-exynos4-dt.c b/arch/arm/mach-exynos/mach-exynos4-dt.c
index ac27f3cd121f..b9ed834a7eee 100644
--- a/arch/arm/mach-exynos/mach-exynos4-dt.c
+++ b/arch/arm/mach-exynos/mach-exynos4-dt.c
@@ -57,6 +57,7 @@ DT_MACHINE_START(EXYNOS4210_DT, "Samsung Exynos4 (Flattened Device Tree)")
.smp = smp_ops(exynos_smp_ops),
.init_irq = exynos4_init_irq,
.map_io = exynos4_dt_map_io,
+ .init_early = exynos_firmware_init,
.init_machine = exynos4_dt_machine_init,
.init_late = exynos_init_late,
.init_time = exynos_init_time,