scipts: Add the HDA reset verb to the generated file

I always add HDA reset to the coreboot file when upstreaming, so just
have the script do it.

- Proprietary firmware does it
- It fixed audio init on oryp5

Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford
2024-02-20 19:00:04 -07:00
committed by Jeremy Soller
parent c4b9a727c4
commit e4960f163e

View File

@ -31,9 +31,10 @@ do
echo -e "\t/* $vendor_name, $chip_name */"
echo -e "\t$vendor_id, /* Vendor ID */"
echo -e "\t$subsystem_id, /* Subsystem ID */"
echo -e "\t$(($(wc -l <<<"$widgets") + 1)), /* Number of entries */"
echo -e "\t$(($(wc -l <<<"$widgets") + 2)), /* Number of entries */"
echo -e "\tAZALIA_SUBVENDOR($index, $subsystem_id),"
echo -e "\tAZALIA_RESET(1),"
cat <<< "$widgets" | \
while read line