summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-02-01 18:42:24 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-02-02 00:18:54 +0900
commit0fc50a86c1faeb8ffd42d6c1a121243595fb9143 (patch)
treeca230fb4f3c64ab1b9236ecd8da6026a6cb541de /Makefile
parentc43d68510e309b8e8d152c158ec46450f14d72a6 (diff)
plat/common: move arch-agnostic fallback functions to C file
When we add a new callback, we need to duplicate fallbacks among plat/common/{aarch32,aarch64}/platform_helpers.S This is tedious. I created a new C file, then moved 3 functions: plat_error_handler bl2_plat_preload_setup plat_try_next_boot_source They are called from C, so I do not see a good reason to implement them in assembly. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e32ba193..fab310bb 100644
--- a/Makefile
+++ b/Makefile
@@ -193,6 +193,7 @@ BL_COMMON_SOURCES += common/bl_common.c \
lib/${ARCH}/cache_helpers.S \
lib/${ARCH}/misc_helpers.S \
plat/common/plat_log_common.c \
+ plat/common/platform_helpers_default.c \
plat/common/${ARCH}/plat_common.c \
plat/common/${ARCH}/platform_helpers.S \
${COMPILER_RT_SRCS} \