1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <security/intel/txt/txt.h>
9 * To be called after DRAM init.
10 * Tells the caller if DRAM must be cleared as requested by the user,
11 * firmware or security framework.
13 bool security_clear_dram_request(void)
15 if (CONFIG(SECURITY_CLEAR_DRAM_ON_REGULAR_BOOT
))
18 if (CONFIG(INTEL_TXT
) && intel_txt_memory_has_secrets())
21 /* TODO: Add TEE environments here */