2 Commity 6ab05e2224 ... 587d588fe4

Autor SHA1 Wiadomość Data
  Leah Rowe 587d588fe4 rom.sh: Don't build txtmode U-Boot images 16 godzin temu
  Leah Rowe 6ab05e2224 rom.sh: Don't build txtmode U-Boot images 16 godzin temu
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      include/rom.sh

+ 5 - 0
include/rom.sh

@@ -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: