aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp1_0/fastboot_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/intel/fsp1_0/fastboot_cache.c')
-rw-r--r--src/drivers/intel/fsp1_0/fastboot_cache.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/drivers/intel/fsp1_0/fastboot_cache.c b/src/drivers/intel/fsp1_0/fastboot_cache.c
index 34761a05be..7eba875e51 100644
--- a/src/drivers/intel/fsp1_0/fastboot_cache.c
+++ b/src/drivers/intel/fsp1_0/fastboot_cache.c
@@ -116,10 +116,6 @@ static struct mrc_data_container *find_current_mrc_cache_local
return mrc_cache;
}
-/* SPI code needs malloc/free.
- * Also unknown if writing flash from XIP-flash code is a good idea
- */
-#if !defined(__PRE_RAM__)
/* find the first empty block in the MRC cache area.
* If there's none, return NULL.
*
@@ -221,8 +217,6 @@ void update_mrc_cache(void *unused)
current->mrc_data_size + sizeof(*current), current);
}
-#endif /* !defined(__PRE_RAM__) */
-
void *find_and_set_fastboot_cache(void)
{
struct mrc_data_container *mrc_cache = NULL;