bca28f8f6b
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>
69 lines
2 KiB
Makefile
69 lines
2 KiB
Makefile
# arch/arm/mach-exynos/Makefile
|
|
#
|
|
# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
|
|
# http://www.samsung.com/
|
|
#
|
|
# Licensed under GPLv2
|
|
|
|
obj-y :=
|
|
obj-m :=
|
|
obj-n :=
|
|
obj- :=
|
|
|
|
# Core
|
|
|
|
obj-$(CONFIG_ARCH_EXYNOS) += common.o
|
|
|
|
obj-$(CONFIG_PM) += pm.o
|
|
obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o
|
|
obj-$(CONFIG_CPU_IDLE) += cpuidle.o
|
|
|
|
obj-$(CONFIG_ARCH_EXYNOS) += pmu.o
|
|
|
|
obj-$(CONFIG_SMP) += platsmp.o headsmp.o
|
|
|
|
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
|
|
|
|
obj-$(CONFIG_ARCH_EXYNOS) += exynos-smc.o
|
|
obj-$(CONFIG_ARCH_EXYNOS) += firmware.o
|
|
|
|
plus_sec := $(call as-instr,.arch_extension sec,+sec)
|
|
AFLAGS_exynos-smc.o :=-Wa,-march=armv7-a$(plus_sec)
|
|
|
|
# machine support
|
|
|
|
obj-$(CONFIG_MACH_SMDKC210) += mach-smdkv310.o
|
|
obj-$(CONFIG_MACH_SMDKV310) += mach-smdkv310.o
|
|
obj-$(CONFIG_MACH_ARMLEX4210) += mach-armlex4210.o
|
|
obj-$(CONFIG_MACH_UNIVERSAL_C210) += mach-universal_c210.o
|
|
obj-$(CONFIG_MACH_NURI) += mach-nuri.o
|
|
obj-$(CONFIG_MACH_ORIGEN) += mach-origen.o
|
|
|
|
obj-$(CONFIG_MACH_SMDK4212) += mach-smdk4x12.o
|
|
obj-$(CONFIG_MACH_SMDK4412) += mach-smdk4x12.o
|
|
|
|
obj-$(CONFIG_MACH_EXYNOS4_DT) += mach-exynos4-dt.o
|
|
obj-$(CONFIG_MACH_EXYNOS5_DT) += mach-exynos5-dt.o
|
|
|
|
# device support
|
|
|
|
obj-y += dev-uart.o
|
|
obj-$(CONFIG_ARCH_EXYNOS4) += dev-audio.o
|
|
obj-$(CONFIG_EXYNOS4_DEV_AHCI) += dev-ahci.o
|
|
obj-$(CONFIG_EXYNOS_DEV_DMA) += dma.o
|
|
obj-$(CONFIG_EXYNOS4_DEV_USB_OHCI) += dev-ohci.o
|
|
|
|
obj-$(CONFIG_ARCH_EXYNOS) += setup-i2c0.o
|
|
obj-$(CONFIG_EXYNOS4_SETUP_FIMC) += setup-fimc.o
|
|
obj-$(CONFIG_EXYNOS4_SETUP_FIMD0) += setup-fimd0.o
|
|
obj-$(CONFIG_EXYNOS4_SETUP_I2C1) += setup-i2c1.o
|
|
obj-$(CONFIG_EXYNOS4_SETUP_I2C2) += setup-i2c2.o
|
|
obj-$(CONFIG_EXYNOS4_SETUP_I2C3) += setup-i2c3.o
|
|
obj-$(CONFIG_EXYNOS4_SETUP_I2C4) += setup-i2c4.o
|
|
obj-$(CONFIG_EXYNOS4_SETUP_I2C5) += setup-i2c5.o
|
|
obj-$(CONFIG_EXYNOS4_SETUP_I2C6) += setup-i2c6.o
|
|
obj-$(CONFIG_EXYNOS4_SETUP_I2C7) += setup-i2c7.o
|
|
obj-$(CONFIG_EXYNOS4_SETUP_KEYPAD) += setup-keypad.o
|
|
obj-$(CONFIG_EXYNOS4_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o
|
|
obj-$(CONFIG_EXYNOS4_SETUP_USB_PHY) += setup-usb-phy.o
|
|
obj-$(CONFIG_EXYNOS_SETUP_SPI) += setup-spi.o
|