diff options
Diffstat (limited to 'src/soc/amd/picasso/psp_verstage/post.c')
-rw-r--r-- | src/soc/amd/picasso/psp_verstage/post.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/psp_verstage/post.c b/src/soc/amd/picasso/psp_verstage/post.c new file mode 100644 index 0000000000..5b429c912b --- /dev/null +++ b/src/soc/amd/picasso/psp_verstage/post.c @@ -0,0 +1,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); +} |