blob: c2980411215e2459acefab032d63ba028ab21dab [file] [log] [blame]
#!/bin/bash
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# All kernel command line changes must update the security base lines in
# the signer. It rejects any settings it does not recognize and breaks the
# build. So any modify_kernel_command_line() function change here needs to be
# reflected in ensure_secure_kernelparams.config.
# See crrev.com/i/216896 as an example.
modify_kernel_command_line() {
echo "i915.enable_psr=1" >> "$1"
echo "tpm_tis.force=1" >> "$1"
echo "tpm_tis.interrupts=0" >> "$1"
}