There are microcodes in .inc format out in the wild which contains lines with just a comment. So these files look like the following example: ; External header dd 000000001h dd 00000001bh ... ; Data dd 000000000h ... The lines with just a comment starts with a ';' and will break the current awk formatting which is performed to reformat the content into C code style. As we are just interested in the data we can simply drop all lines that start with a ';' which sed can do pretty easy. Change-Id: I9ff5db51667672cffd9d776fb9497962b4a6083a Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40566 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> |
||
|---|---|---|
| .. | ||
| config | ||
| cross-repo-cherrypick | ||
| decode_spd.sh | ||
| description.md | ||
| dts-to-fmd.sh | ||
| find-unused-kconfig-symbols.sh | ||
| gerrit-rebase | ||
| get_maintainer.pl | ||
| maintainers.go | ||
| no-fsf-addresses.sh | ||
| parse-maintainers.pl | ||
| prepare-commit-msg.clang-format | ||
| ucode_h_to_bin.sh | ||
| update_submodules | ||