| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
menu "Memory initialization" |
| 4 |
|
| 5 |
config 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 |
|
| 13 |
config 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 |
|
| 22 |
endmenu #Memory initialization |