#!/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() { | |
sed -i -E -e 's/^console=$/console=uart,mmio32,0xfedc9000 /' "$1" | |
echo "amdgpu.abmlevel=4" >> "$1" | |
} |