amd/vboot: remove bl_syscall_public.h from include
bl_syscall_public.h is a header file for PSP app, but was used for x86 code to get the definition of PSP_INFO. Move the definition into psp_transfer.h and do not include bl_syscall_public.h from x86 code. BUG=none TEST=build psp_verstage on zork BRANCH=none Signed-off-by: Kangheui Won <khwon@chromium.org> Change-Id: I0fe011652a47d0ba2939dc31ee3b83f0718a61dc Reviewed-on: https://review.coreboot.org/c/coreboot/+/52537 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
5f445f97c2
commit
f299632831
2 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <amdblocks/reset.h>
|
||||
#include <bl_uapp/bl_syscall_public.h>
|
||||
#include <bootblock_common.h>
|
||||
#include <console/console.h>
|
||||
#include <pc80/mc146818rtc.h>
|
||||
|
|
|
@ -16,6 +16,11 @@
|
|||
|
||||
#define TRANSFER_MAGIC_VAL 0x50544953
|
||||
|
||||
/* Bit definitions for the psp_info field in the PSP transfer_info_struct */
|
||||
#define PSP_INFO_PRODUCTION_MODE 0x00000001UL
|
||||
#define PSP_INFO_PRODUCTION_SILICON 0x00000002UL
|
||||
#define PSP_INFO_VALID 0x80000000UL
|
||||
|
||||
/* Area for things that would cause errors in a linker script */
|
||||
#if !defined(__ASSEMBLER__)
|
||||
#include <stdint.h>
|
||||
|
|
Loading…
Reference in a new issue