ARM: EXYNOS: Add support for Exynos secure firmware
commitbca28f8f6b93fc1fb000d8695e59266d307aceab
authorTomasz Figa <t.figa@samsung.com>
Tue, 11 Dec 2012 04:58:43 +0000 (11 13:58 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 8 Apr 2013 16:52:30 +0000 (9 01:52 +0900)
tree730be4b040f57319ee5266d404107d618ad49282
parenta4a18d2b3a9245ac43eec1e2eddd6b929b8f0bb9
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>
Documentation/devicetree/bindings/arm/samsung-boards.txt
arch/arm/mach-exynos/Makefile
arch/arm/mach-exynos/common.h
arch/arm/mach-exynos/firmware.c [new file with mode: 0644]
arch/arm/mach-exynos/mach-exynos4-dt.c