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:
committed by
Jeremy Soller
parent
09a4df70c9
commit
697615be23
@@ -11,9 +11,6 @@ fi
|
|||||||
cat <<"EOF"
|
cat <<"EOF"
|
||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
#ifndef HDA_VERB_H
|
|
||||||
#define HDA_VERB_H
|
|
||||||
|
|
||||||
#include <device/azalia_device.h>
|
#include <device/azalia_device.h>
|
||||||
|
|
||||||
const u32 cim_verb_data[] = {
|
const u32 cim_verb_data[] = {
|
||||||
@@ -53,6 +50,4 @@ cat <<"EOF"
|
|||||||
const u32 pc_beep_verbs[] = {};
|
const u32 pc_beep_verbs[] = {};
|
||||||
|
|
||||||
AZALIA_ARRAY_SIZES;
|
AZALIA_ARRAY_SIZES;
|
||||||
|
|
||||||
#endif
|
|
||||||
EOF
|
EOF
|
||||||
|
@@ -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"
|
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-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
|
# Get the flash descriptor and Intel ME blobs
|
||||||
make -C coreboot/util/ifdtool
|
make -C coreboot/util/ifdtool
|
||||||
|
Reference in New Issue
Block a user