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>
1 parent c43d685 commit 0fc50a86c1faeb8ffd42d6c1a121243595fb9143
@Masahiro Yamada Masahiro Yamada authored on 1 Feb 2018
Showing 4 changed files
View
Makefile
View
plat/common/aarch32/platform_helpers.S
View
plat/common/aarch64/platform_helpers.S
View
plat/common/platform_helpers_default.c 0 → 100644