On 16. 11. 20 22:47, Michael Walle wrote: > There is no need to have the storage available globally. This is also a > preparation for LOAD_IMAGE_V2 support. That will introduce a similar > generator function which also has its own storage. > > Signed-off-by: Michael Walle <mich...@walle.cc> > --- > common/spl/spl_atf.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/common/spl/spl_atf.c b/common/spl/spl_atf.c > index 9bd25f6b32..df0a198d55 100644 > --- a/common/spl/spl_atf.c > +++ b/common/spl/spl_atf.c > @@ -18,13 +18,12 @@ > #include <spl.h> > #include <asm/cache.h> > > -static struct bl2_to_bl31_params_mem bl31_params_mem; > -static struct bl31_params *bl2_to_bl31_params; > - > __weak struct bl31_params *bl2_plat_get_bl31_params(uintptr_t bl32_entry, > uintptr_t bl33_entry, > uintptr_t fdt_addr) > { > + static struct bl2_to_bl31_params_mem bl31_params_mem; > + struct bl31_params *bl2_to_bl31_params; > struct entry_point_info *bl32_ep_info; > struct entry_point_info *bl33_ep_info; > > Acked-by: Michal Simek <michal.si...@xilinx.com> M
- [PATCH 0/8] spl: atf: add support for LOAD_IMAGE_V2 Michael Walle
- [PATCH 1/8] treewide: use CONFIG_IS_ENABLED() for ARMV8... Michael Walle
- [PATCH 3/8] spl: atf: provide a bl2_plat_get_bl31_param... Michael Walle
- Re: [PATCH 3/8] spl: atf: provide a bl2_plat_get_bl... Michal Simek
- Re: [PATCH 3/8] spl: atf: provide a bl2_plat_ge... Michal Simek
- [PATCH 4/8] spl: atf: remove helper structure from comm... Michael Walle
- [PATCH 2/8] spl: atf: move storage for bl31_params into... Michael Walle
- Re: [PATCH 2/8] spl: atf: move storage for bl31_par... Michal Simek
- [PATCH 6/8] armv8: layerscape: don't initialize GIC in ... Michael Walle
- [PATCH 5/8] spl: atf: add support for LOAD_IMAGE_V2 Michael Walle
- [PATCH 7/8] board: sl28: add ATF support (bl31) Michael Walle
- Re: [PATCH 7/8] board: sl28: add ATF support (bl31) Michal Simek
- Re: [PATCH 7/8] board: sl28: add ATF support (b... Michael Walle
- Re: [PATCH 7/8] board: sl28: add ATF suppor... Michal Simek
- Re: [PATCH 7/8] board: sl28: add ATF s... Michael Walle
- Re: [PATCH 7/8] board: sl28: add ATF s... Michael Walle
- [PATCH 8/8] board: sl28: add OP-TEE Trusted OS support ... Michael Walle