mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-21 12:04:27 +00:00

Add plat parameter structs to support BL2 to pass variable-length, variable-type parameters to BL31. The parameters are structured as a link list. During BL31 setup time, we traverse the list to process each parameter. Signed-off-by: kenny liang <kenny.liang@mediatek.com> Change-Id: Ie84cfc9606656fb1d2780a68cadf27e09afa6628
17 lines
357 B
C
17 lines
357 B
C
/*
|
|
* Copyright (c) 2019, MediaTek Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef PLAT_PARAMS_H
|
|
#define PLAT_PARAMS_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <export/plat/mediatek/common/plat_params_exp.h>
|
|
|
|
struct bl_aux_gpio_info *plat_get_mtk_gpio_reset(void);
|
|
void params_early_setup(u_register_t plat_param_from_bl2);
|
|
|
|
#endif
|