summaryrefslogtreecommitdiff
path: root/plat/sun50iw1p1/platform.mk
diff options
context:
space:
mode:
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>2017-02-24 13:52:17 +0100
committerChristoph Muellner <christoph.muellner@theobroma-systems.com>2017-03-08 16:05:54 +0100
commit0cc98e128fe9a9b314d531f9ee4fd3538f0c01b8 (patch)
treee8a7ee494994c62bb5497edd485546150b840615 /plat/sun50iw1p1/platform.mk
parent250c3cec2b7bd82ca4fff259204ed4d68847d730 (diff)
sun50iw1p1: Add ARISC emulator service.HEADlynx-3.10-without-arisc
The Allwinner BSP kernel (and the derived kernel trees from the Sunxi community) depend on some functionality provided by ATF and the ARISC firmware. In fact Allwinners ATF does not provide that functionality directly, but forwards requests to the ARISC firmware. This patch adds an emulation service, which brings the necessary functionality to the ATF (i.e. no ARISC firmware needed). The functionality includes: * DVFS (tested for frequencies in the range of 480-1152 MHz). * Access to AXP registers. * Safe returns for other required SMCs. This patch has been tested with a Linux 3.10 sunxi kernel. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Diffstat (limited to 'plat/sun50iw1p1/platform.mk')
-rw-r--r--plat/sun50iw1p1/platform.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/plat/sun50iw1p1/platform.mk b/plat/sun50iw1p1/platform.mk
index bc20110..e3aba37 100644
--- a/plat/sun50iw1p1/platform.mk
+++ b/plat/sun50iw1p1/platform.mk
@@ -51,5 +51,6 @@ BL31_SOURCES += drivers/arm/gic/arm_gic.c \
plat/sun50iw1p1/plat_topology.c \
plat/sun50iw1p1/aarch64/plat_helpers.S \
plat/sun50iw1p1/sunxi_clocks.c \
- plat/sun50iw1p1/aarch64/sunxi_common.c
+ plat/sun50iw1p1/aarch64/sunxi_common.c \
+ plat/sun50iw1p1/sunxi_arisc_emulator.c