aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/psp_verstage/post.c
blob: 5b429c912b95d38f878aacbadd4e275db3fd80a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0-only */

#include <bl_uapp/bl_syscall_public.h>
#include <console/console.h>
#include <post.h>

void arch_post_code(u8 value)
{
	if (CONFIG(POST_IO) && CONFIG_POST_IO_PORT == 0x80)
		svc_write_postcode(value);
}