diff options
Diffstat (limited to 'components/service/locator/sp/sp_env.c')
-rw-r--r-- | components/service/locator/sp/sp_env.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/components/service/locator/sp/sp_env.c b/components/service/locator/sp/sp_env.c new file mode 100644 index 000000000..51507cb35 --- /dev/null +++ b/components/service/locator/sp/sp_env.c @@ -0,0 +1,18 @@ +/* + * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include <service_locator.h> +#include <service/locator/sp/ffa/spffa_location_strategy.h> + + +void service_locator_envinit(void) +{ + /* + * Register all service location strategies that could be used + * to locate services from a secure partition. + */ + service_locator_register_strategy(spffa_location_strategy()); +} |