diff options
author | Leah Rowe <leah@libreboot.org> | 2025-09-28 23:18:50 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-09-28 23:18:50 +0100 |
commit | f272c4d1c412787cc2412130c1b91949bceee3c8 (patch) | |
tree | 3720b55e89d13cde7c68e36219b9e3d0981a2561 /include/rom.sh | |
parent | aa3ccf04330962f029bd7c0a6104b2285b6719c7 (diff) |
rom.sh: support "fspgop" init mode
for all intents and purposes, this functions like libgfxinit
corebootfb, but uses intel fsp's video initialisation instead
of coreboot's native initialisation code
this is currently in use on the x2e n150 mainboard, whose
config is dubiously named "libgfxinit_corebootfb"
now the config can be renamed, and will be, in the next commit.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/rom.sh')
-rw-r--r-- | include/rom.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/rom.sh b/include/rom.sh index ef6cf516..5516cdf7 100644 --- a/include/rom.sh +++ b/include/rom.sh @@ -155,7 +155,7 @@ mkcorebootbin_real() initmode="${defconfig##*/}" displaymode="${initmode##*_}" if [ "$displaymode" = "$initmode" ]; then - # blank it for "normal" configs: + # blank it for "normal" or "fspgop" configs: displaymode="" fi @@ -247,6 +247,9 @@ add_seabios() fi _seabioself="elf/seabios/default/default/$initmode/bios.bin.elf" + [ "$initmode" = "fspgop" ] && \ + _seabioself="elf/seabios/default/default/libgfxinit/bios.bin.elf" + _seaname="fallback/payload" if [ "$payload_grubsea" = "y" ]; then _seaname="seabios.elf" @@ -263,7 +266,7 @@ add_seabios() x_ "$cbfstool" "$tmprom" add-int -i $opexec -n etc/pci-optionrom-exec x_ "$cbfstool" "$tmprom" add-int -i 0 -n etc/optionroms-checksum - if [ "$initmode" = "libgfxinit" ]; then + if [ "$initmode" = "libgfxinit" ] || [ "$initmode" = "fspgop" ]; then cbfs "$tmprom" "$seavgabiosrom" vgaroms/seavgabios.bin raw fi |