summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/fw/rom.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/fw/rom.sh b/include/fw/rom.sh
index 84f2e2bb..284616e4 100644
--- a/include/fw/rom.sh
+++ b/include/fw/rom.sh
@@ -177,6 +177,12 @@ mkcorebootbin_real()
[ "$payload_grub" != "y" ] && \
payload_grubsea="n"
+ if [ "$initmode" != "libgfxinit" ] || \
+ [ "$displaymode" != "corebootfb" ]; then
+ [ "$initmode" != "fspgop" ] && [ "$initmode" != "normal" ] && \
+ payload_edk2="" # disable on txtmode
+ fi
+
$if_not_skip_build prep_tmprom
if grep "CONFIG_PAYLOAD_NONE=y" "$buildcfg"; then