summaryrefslogtreecommitdiff
path: root/arch/x86/lib/fsp/fsp_common.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-09 17:50:51 -0500
committerTom Rini <trini@konsulko.com>2022-12-09 17:50:51 -0500
commitbc71afc3c5399c062c724f01d6ff83af72e14a42 (patch)
treeeb0980e9bae9c719513173619c435b7147f93e96 /arch/x86/lib/fsp/fsp_common.c
parent0494ab37c267a52c1deaa231b74d721b2991e904 (diff)
parent04150400c96785763d17bfee1c01e210cc60f642 (diff)
Merge branch '2022-12-09-platform-updates' into next
- Assorted TI platform updates - Add DM_RTC callback functions, and a related x86 clean-up.
Diffstat (limited to 'arch/x86/lib/fsp/fsp_common.c')
-rw-r--r--arch/x86/lib/fsp/fsp_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/lib/fsp/fsp_common.c b/arch/x86/lib/fsp/fsp_common.c
index 82f7d3ab5f0..8f2977a8070 100644
--- a/arch/x86/lib/fsp/fsp_common.c
+++ b/arch/x86/lib/fsp/fsp_common.c
@@ -61,6 +61,7 @@ void board_final_init(void)
debug("OK\n");
}
+#if CONFIG_IS_ENABLED(DM_RTC)
int fsp_save_s3_stack(void)
{
struct udevice *dev;
@@ -84,3 +85,4 @@ int fsp_save_s3_stack(void)
return 0;
}
+#endif