@@ -177,6 +177,11 @@ mkseagrub()
add_uboot()
{
+ if [ "$displaymode" = "txtmode" ]; then
+ printf "cb/$target: Cannot use U-Boot in text mode\n" 1>&2
+ return 0
+ fi
+
# TODO: re-work to allow each coreboot target to say which ub tree
# instead of hardcoding as in the current logic below: