From 5b94f9a663b08ff73466c0ee97594367729ae919 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Thu, 18 Jan 2024 21:10:59 +0100 Subject: soc/amd/*/romstage: factor out FSP-M call Move the call into the FSP code to a file in the common AMD FSP code to isolate the FSP-specific parts of the code and a preparation to make the romstage of all non-CAR AMD SoCs common. Without isolating the call into the FSP-M code, building the common romstage would fail for genoa_poc due to fsp/api.h not being in the include path. Signed-off-by: Felix Held Change-Id: I30cf1bee2ec1a507dc8e61eaf44067663e2505ae Reviewed-on: https://review.coreboot.org/c/coreboot/+/80002 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Reviewed-by: Matt DeVillier --- src/soc/amd/common/block/include/amdblocks/fsp.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/soc/amd/common/block/include/amdblocks/fsp.h (limited to 'src/soc/amd/common/block') diff --git a/src/soc/amd/common/block/include/amdblocks/fsp.h b/src/soc/amd/common/block/include/amdblocks/fsp.h new file mode 100644 index 0000000000..a7b664f498 --- /dev/null +++ b/src/soc/amd/common/block/include/amdblocks/fsp.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef AMD_BLOCK_FSP_H +#define AMD_BLOCK_FSP_H + +void amd_fsp_early_init(void); + +#endif /* AMD_BLOCK_FSP_H */ -- cgit v1.2.3