diff options
Diffstat (limited to 'plat/imx/common/misc.c')
-rw-r--r-- | plat/imx/common/misc.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/plat/imx/common/misc.c b/plat/imx/common/misc.c new file mode 100644 index 00000000..be18673e --- /dev/null +++ b/plat/imx/common/misc.c @@ -0,0 +1,26 @@ +/* + * Copyright 2018 NXP + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include <debug.h> +#include <stdlib.h> +#include <stdint.h> +#include <smcc_helpers.h> +#include <std_svc.h> +#include <types.h> +#include <platform_def.h> +#include <fsl_sip.h> +#include <sci/sci.h> + +extern sc_ipc_t ipc_handle; + +int imx_misc_set_temp_handler(uint32_t smc_fid, + u_register_t x1, + u_register_t x2, + u_register_t x3, + u_register_t x4) +{ + return sc_misc_set_temp(ipc_handle, x1, x2, x3, x4); +} |