blob: 1ca413f1f4eef16879b6a99381c56ade87410164 [file] [log] [blame]
Etienne Carriere75141172020-05-16 11:58:23 +02001// SPDX-License-Identifier: BSD-2-Clause
Pascal Brandc639ac82015-07-02 08:53:34 +02002/*
3 * Copyright (c) 2014, STMicroelectronics International N.V.
4 * All rights reserved.
Pascal Brandc639ac82015-07-02 08:53:34 +02005 */
6#include <stdint.h>
7#include <init.h>
8#include <tee_api.h>
9
10TEE_Result ta_entry_init(uint32_t param_types, TEE_Param params[4])
11{
12 TEE_Time date;
13 (void)param_types;
14 (void)params;
15
16 return TEE_GetTAPersistentTime(&date);
17}