Add addw2, gaze15, and oryp6

This commit is contained in:
Jeremy Soller
2020-06-04 09:54:43 -06:00
committed by Jeremy Soller
parent 4a816ea1b8
commit 4dc59fee82
50 changed files with 4765 additions and 7 deletions

View File

@ -20,7 +20,9 @@ then
gnat \
mtools \
nasm \
python \
python3-distutils \
sdcc \
uuid-dev \
zlib1g-dev
else

39
scripts/fsp_params.sh Executable file
View File

@ -0,0 +1,39 @@
#!/usr/bin/env bash
set -e
#awk '/Fsp S Configuration/,/^} FSP_S_CONFIG;/' coreboot/3rdparty/fsp/CometLakeFspBinPkg/CometLake1/Include/FspsUpd.h |
awk '/Fsp M Configuration/,/^} FSP_M_CONFIG;/' coreboot/3rdparty/fsp/CometLakeFspBinPkg/CometLake1/Include/FspmUpd.h |
tr -d $'\r' |
tr -s ' ' |
grep '^ UINT' |
tr -d ';' |
cut -d ' ' -f3 |
while read line
do
if [[ "$line" == "Reserved"* ]]
then
continue
fi
if [[ "$line" == "Unused"* ]]
then
continue
fi
if [[ "$line" == *'['*']' ]]
then
echo "// $line"
var="$(echo "$line" | cut -d '[' -f1)"
count="$(echo "$line" | cut -d '[' -f2 | cut -d ']' -f1)"
for i in $(seq 0 "$count")
do
if [[ "$i" != "$count" ]]
then
echo "DISPLAY_UPD($var[$i]);"
fi
done
else
echo "DISPLAY_UPD($line);"
fi
done