u-boot/arch/x86/lib
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
..
coreboot treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00
fsp x86: fsp: Only compile fsp_save_s3_stack if (SPL_)DM_RTC is enabled 2022-12-09 14:10:28 -05:00
fsp1 board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
fsp2 board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
acpi.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
acpi_nhlt.c x86: Silence some logging statements 2020-11-06 09:51:32 +08:00
acpi_s3.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
acpi_table.c Revert "x86: Move FACP table into separate functions" 2022-03-31 08:27:52 -04:00
acpigen.c x86: acpi: Add PCT and PTC tables 2020-09-25 11:27:18 +08:00
asm-offsets.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
bdinfo.c x86: Show some EFI info with the bdinfo command 2021-10-21 03:46:03 +02:00
bios.c video: Rename structs and functions to avoid VBE 2022-08-12 08:14:23 -04:00
bios.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bios_asm.S WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
bios_interrupts.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bootm.c treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
cmd_boot.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
coreboot_table.c video: Renname vbe.h to vesa.h 2022-08-12 08:14:23 -04:00
crt0_ia32_efi.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
crt0_x86_64_efi.S x86: Remove unused _relocate arguments 2018-07-19 16:31:36 -04:00
div64.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
e820.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
early_cmos.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
elf_ia32_efi.lds linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
elf_x86_64_efi.lds linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
hob.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
i8254.c x86: Make sure i8254 is setup correctly before generating beeps 2019-03-11 22:55:01 +08:00
i8259.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
init_helpers.c x86: Do cache set-up by default when booting from coreboot 2021-07-15 19:50:09 +08:00
interrupts.c x86: Show the interrupt pointer with 'irqinfo' 2020-11-06 09:51:29 +08:00
lpc-uclass.c treewide: Simply conditions with the new OF_REAL 2021-09-25 09:46:15 -06:00
Makefile acpi: Use finer-grained control of ACPI-table generation 2022-01-25 11:44:36 -07:00
mpspec.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mrccache.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
northbridge-uclass.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
physmem.c global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
pinctrl_ich6.c dm: treewide: Use uclass_first_device_err when accessing one device 2022-10-17 21:17:12 -06:00
pirq_routing.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pmu.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
ramtest.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reloc_ia32_efi.c elf: Move x86 reloc defines to common elf.h 2018-07-25 14:57:43 +02:00
reloc_x86_64_efi.c elf: Move x86 reloc defines to common elf.h 2018-07-25 14:57:43 +02:00
relocate.c Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
scu.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sections.c treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00
sfi.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
spl.c Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
string.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tables.c smbios: error handling for invalid addresses 2021-07-24 10:49:51 +02:00
tpl.c event: Convert arch_cpu_init_dm() to use events 2022-03-10 08:28:36 -05:00
zimage.c x86: Don't process the kernel command line unless enabled 2021-12-31 06:45:01 +01:00