spl: atf: provide a bl2_plat_get_bl31_params_default()
authorMichael Walle <michael@walle.cc>
Wed, 18 Nov 2020 16:45:56 +0000 (17:45 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 4 Dec 2020 21:09:05 +0000 (16:09 -0500)
commitd2cb0c8f759ddc9cbc063816454d5f0d18d7fcb1
tree4a3f7f013595eee10cc1a4f1ce6e57c12d630e5a
parent37c218a06e50727ee5b13640f0cfeee396dc1c10
spl: atf: provide a bl2_plat_get_bl31_params_default()

Move the actual implementation of the bl2_plat_get_bl31_params() to its
own function. The weak function will just call the default
implementation. This has the advantage that board code can still call
the original implementation if it just want to modify minor things.

Signed-off-by: Michael Walle <michael@walle.cc>
common/spl/spl_atf.c
include/spl.h