blob: d36b064c254b1d420d481338c0a678f3f6e6cc8b [file] [log] [blame]
#!/bin/bash
# Copyright 2019 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.
modify_kernel_command_line() {
{
# disablevmx=off is set by baseboard-fizz, but since build_kernel_image.sh
# does not support inheritance, this board-specific file overrides its
# definition of modify_kernel_command_line (https://crbug.com/868003),
# so include its contents here.
echo "disablevmx=off"
# Disable USB 3.0 LPM for Huddly Go
quirks="2bd9:0011:k"
# Disable USB 3.0 LPM for Huddly IQ in Boxfish mode
quirks+=",2bd9:0021:k"
# Disable USB 3.0 LPM for Huddly IQ in Clownfish mode
quirks+=",2bd9:0031:k"
# Aggregate and export
echo "usbcore.quirks=${quirks}"
} >> "$1"
}