diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2014-06-05 14:01:45 +0200 |
---|---|---|
committer | Jens Wiklander <jens.wiklander@linaro.org> | 2014-08-12 13:39:40 +0200 |
commit | c0346845c2bb79af36fdc1bf3020cdfbdc4d9b18 (patch) | |
tree | d6e0222fc8dac42b47cc6ccb153f99e8e46b47fe /core/core.mk | |
parent | 565e42f9a0732c850174c82e96f3fd357cbb08b3 (diff) |
Add plat-vexpress
* Initial support for Versatile Express of FVP with ARM Trusted
Firmware (ATF below)
* Use entry vector for entering TEE
Align interface between TEE and secure monitor with the interface
between OPTEED in ATF and TEE.
Uses an ATF compatible entry vector for entering TEE from internal
secure monitor.
Internal secure monitor saves entry reason to be able to tell when
switching back to nonsecure world if r0-r3 should be preserved (FIQ case)
or returned as is (normal call case).
* Many small fixes of generic problems that could affect other platforms
too.
* Disable unaligned data accesses by adding compiler flag
-mno-unaligned-access
* Adds support for Versatile Express of QEMU with 8 MiB of secure DRAM
Diffstat (limited to 'core/core.mk')
-rw-r--r-- | core/core.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/core.mk b/core/core.mk index 40ed5721..6a6ba5df 100644 --- a/core/core.mk +++ b/core/core.mk @@ -8,6 +8,11 @@ arch-dir := core/arch/$(ARCH) platform-dir := $(arch-dir)/plat-$(PLATFORM) include $(platform-dir)/conf.mk +PLATFORM_FLAVOR ?= default +platform_$(PLATFORM) := y +platform_flavor_$(PLATFORM_FLAVOR) := y +cppflags$(sm) += -DPLATFORM_FLAVOR=PLATFORM_FLAVOR_ID_$(PLATFORM_FLAVOR) + cppflags$(sm) += -Icore/include $(platform-cppflags) $(core-platform-cppflags) cflags$(sm) += $(platform-cflags) $(core-platform-cflags) aflags$(sm) += $(platform-aflags) $(core-platform-aflags) |