aboutsummaryrefslogtreecommitdiffstats
path: root/plat/allwinner
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2019-10-20 19:42:15 -0500
committerSamuel Holland <samuel@sholland.org>2019-12-13 19:20:36 -0600
commit18fbfefbbb1e0b86353d2b849b99fae37bbd95f0 (patch)
treed31d82586a2822841d5749ec48ab70422a39e35b /plat/allwinner
parentdf77a9545150aeaef825afd4efd659044f557ca4 (diff)
downloadplatform_external_arm-trusted-firmware-18fbfefbbb1e0b86353d2b849b99fae37bbd95f0.tar.gz
platform_external_arm-trusted-firmware-18fbfefbbb1e0b86353d2b849b99fae37bbd95f0.tar.bz2
platform_external_arm-trusted-firmware-18fbfefbbb1e0b86353d2b849b99fae37bbd95f0.zip
allwinner: Build PMIC bus drivers only in BL31
These are used by the PMIC setup code, which runs during BL31 initialization, and the PSCI shutdown code, also a part of BL31. They can't be needed before BL31, or it wouldn't be possible to boot. Allwinner platforms don't generally build anything but BL31 anyway, but this change improves clarity and consistency with allwinner-common.mk. Signed-off-by: Samuel Holland <samuel@sholland.org> Change-Id: I24f1d9ca8b4256e44badf5218d04d8690082babf
Diffstat (limited to 'plat/allwinner')
-rw-r--r--plat/allwinner/sun50i_a64/platform.mk4
-rw-r--r--plat/allwinner/sun50i_h6/platform.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/plat/allwinner/sun50i_a64/platform.mk b/plat/allwinner/sun50i_a64/platform.mk
index b46fbc2d1..17bdf63f3 100644
--- a/plat/allwinner/sun50i_a64/platform.mk
+++ b/plat/allwinner/sun50i_a64/platform.mk
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
+# Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -7,4 +7,4 @@
# The differences between the platform are covered by the include files.
include plat/allwinner/common/allwinner-common.mk
-PLAT_BL_COMMON_SOURCES += drivers/allwinner/sunxi_rsb.c
+BL31_SOURCES += drivers/allwinner/sunxi_rsb.c
diff --git a/plat/allwinner/sun50i_h6/platform.mk b/plat/allwinner/sun50i_h6/platform.mk
index 5c21eadb2..fa1b0e598 100644
--- a/plat/allwinner/sun50i_h6/platform.mk
+++ b/plat/allwinner/sun50i_h6/platform.mk
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
+# Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -7,4 +7,4 @@
# The differences between the platform are covered by the include files.
include plat/allwinner/common/allwinner-common.mk
-PLAT_BL_COMMON_SOURCES += drivers/mentor/i2c/mi2cv.c
+BL31_SOURCES += drivers/mentor/i2c/mi2cv.c