aboutsummaryrefslogtreecommitdiff
path: root/crosvm.fragment
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2021-09-07 10:48:18 -0700
committerTom Cherry <tomcherry@google.com>2021-09-08 10:55:13 -0700
commit6e66addfc5b28501205cddce3bf8912c0d8ecd76 (patch)
treef158b96864f877e15ed90fd93780798242b17094 /crosvm.fragment
parent87eeee1300daffd828b926d8ddc862d4680db3d2 (diff)
Disable CONFIG_SYS_MALLOC_CLEAR_ON_INIT for crosvm.
Crosvm cleans memory before passing it to the guest, so this option is unnecessary. Test: boot CF successfully, observe 100ms less boot time Change-Id: Id4e174fb4a7bbf710f4854049689d5f101bd359c
Diffstat (limited to 'crosvm.fragment')
-rw-r--r--crosvm.fragment2
1 files changed, 2 insertions, 0 deletions
diff --git a/crosvm.fragment b/crosvm.fragment
index 9b0ffc3605a..28f345ff094 100644
--- a/crosvm.fragment
+++ b/crosvm.fragment
@@ -2,3 +2,5 @@
# various ways. This tells U-Boot to inherit -- but not touch -- the existing
# PCI config space.
CONFIG_PCI_ENUM_ONLY=y
+# Crosvm is responsible for cleaning RAM's contents, so this is unneeded.
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set