scripts: Generate coreboot file as hda_verb.c

coreboot has not used the name hda{,_verb}.h for some time. Reduce the
changes needed when adding this file to the coreboot tree.
This commit is contained in:
Tim Crawford
2020-08-03 09:21:55 -06:00
committed by Jeremy Soller
parent 09a4df70c9
commit 697615be23
2 changed files with 1 additions and 6 deletions

View File

@@ -11,9 +11,6 @@ fi
cat <<"EOF"
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef HDA_VERB_H
#define HDA_VERB_H
#include <device/azalia_device.h>
const u32 cim_verb_data[] = {
@@ -53,6 +50,4 @@ cat <<"EOF"
const u32 pc_beep_verbs[] = {};
AZALIA_ARRAY_SIZES;
#endif
EOF

View File

@@ -49,7 +49,7 @@ cargo build --release --manifest-path=tools/coreboot-collector/Cargo.toml
sudo ./tools/coreboot-collector/target/release/coreboot-collector > "${MODEL_DIR}/coreboot-collector.txt"
${SCRIPT_DIR}/coreboot-gpio.sh "${MODEL_DIR}/coreboot-collector.txt" > "${MODEL_DIR}/gpio.h"
${SCRIPT_DIR}/coreboot-hda.sh "${MODEL_DIR}/coreboot-collector.txt" > "${MODEL_DIR}/hda.h"
${SCRIPT_DIR}/coreboot-hda.sh "${MODEL_DIR}/coreboot-collector.txt" > "${MODEL_DIR}/hda_verb.c"
# Get the flash descriptor and Intel ME blobs
make -C coreboot/util/ifdtool