summaryrefslogtreecommitdiff
path: root/src/soc/cavium/cn81xx/bl31_plat_params.c
blob: 4f30e5bf510283f0be7c7bc17213f8d9f8dec01a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-only */

#include <assert.h>
#include <bl31.h>
#include <soc/bl31_plat_params.h>

static struct bl31_plat_param *plat_params;

void cn81xx_register_bl31_param(struct bl31_plat_param *param)
{
	ASSERT(param);

	param->next = plat_params;
	plat_params = param;
}

void *soc_get_bl31_plat_params(void)
{
	return plat_params;
}