drivers/intel/fsp2_0: Make fsp_temp_ram_exit() function static

fsp_temp_ram_exit() function is only getting called by
late_car_teardown() function inside temp_ram_exit.c file.
Hence, make function as static and removed from include/fsp/api.h.

Change-Id: I2239400e475482bc21f771d41a5ac524222d40fc
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55025
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Subrata Banik 2021-05-28 02:26:31 +05:30
parent 83e0b97dc5
commit de77449c39
2 changed files with 1 additions and 2 deletions

View File

@ -34,7 +34,6 @@ enum fsp_notify_phase {
/* Main FSP stages */
void fsp_memory_init(bool s3wake);
void fsp_silicon_init(void);
void fsp_temp_ram_exit(void);
/*
* Load FSP-S from stage cache or CBFS. This allows SoCs to load FSPS-S

View File

@ -7,7 +7,7 @@
#include <cbfs.h>
#include <types.h>
void fsp_temp_ram_exit(void)
static void fsp_temp_ram_exit(void)
{
struct fsp_header hdr;
uint32_t status;