xref: /aosp_15_r20/external/coreboot/src/security/memory/Kconfig (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1# SPDX-License-Identifier: GPL-2.0-only
2
3menu "Memory initialization"
4
5config PLATFORM_HAS_DRAM_CLEAR
6	bool
7	default y
8	depends on ARCH_X86
9	help
10	  Selected by platforms that support clearing all DRAM
11	  after DRAM initialization.
12
13config SECURITY_CLEAR_DRAM_ON_REGULAR_BOOT
14	depends on PLATFORM_HAS_DRAM_CLEAR
15	bool "Always clear all DRAM on regular boot"
16	help
17	  Always clear the DRAM after DRAM initialization regardless
18	  of additional security implementations in use.
19	  This increases boot time depending on the amount of DRAM
20	  installed.
21
22endmenu #Memory initialization
23