diff options
author | Tom Cherry <tomcherry@google.com> | 2021-09-07 10:48:18 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2021-09-08 10:55:13 -0700 |
commit | 6e66addfc5b28501205cddce3bf8912c0d8ecd76 (patch) | |
tree | f158b96864f877e15ed90fd93780798242b17094 /crosvm.fragment | |
parent | 87eeee1300daffd828b926d8ddc862d4680db3d2 (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.fragment | 2 |
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 |