u-boot/arch/x86/lib/fsp
Sean Anderson 0db588caf9 x86: fsp: Only compile fsp_save_s3_stack if (SPL_)DM_RTC is enabled
This function calls rtc_write32, which has a different signature
depending on if (SPL_)DM_RTC is enabled or not. This could result in a
mismatch in SPL if DM_RTC was enabled but SPL_DM_RTC, as the non-DM
declaration would still be used in SPL even though the implementation
would be for non-DM_RTC. We are switching to the correct definitions in
the next commit, so this will become a compilation error. Since
fsp_save_s3_stack is not called from SPL, avoid compiling it if
(SPL_)DM_RTC is disabled.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
2022-12-09 14:10:28 -05:00
..
fsp_common.c x86: fsp: Only compile fsp_save_s3_stack if (SPL_)DM_RTC is enabled 2022-12-09 14:10:28 -05:00
fsp_dram.c x86: fsp: Don't program MTRR for DRAM for FSP1 2021-08-03 00:01:29 +08:00
fsp_graphics.c video: Rename structs and functions to avoid VBE 2022-08-12 08:14:23 -04:00
fsp_support.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Makefile x86: fsp: Make graphics support common to FSP1/2 2019-12-15 11:44:16 +08:00