blob: cafe1a3782b94520f88c695ca396cdf77711dc45 [file] [log] [blame]
Masahiro Yamada574388c2016-09-03 11:37:40 +09001/*
2 * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <platform.h>
8
9int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
10 unsigned int *flags)
11{
12 *flags = ROTPK_NOT_DEPLOYED;
13
14 return 0;
15}
16
17int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr)
18{
19 /*
20 * No support for non-volatile counter. Update the ROT key to protect
21 * the system against rollback.
22 */
23 *nv_ctr = 0;
24
25 return 0;
26}
27
28int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr)
29{
30 return 0;
31}