2 Commits 6ab05e2224 ... 587d588fe4

Author SHA1 Message Date
  Leah Rowe 587d588fe4 rom.sh: Don't build txtmode U-Boot images 16 hours ago
  Leah Rowe 6ab05e2224 rom.sh: Don't build txtmode U-Boot images 16 hours ago
1 changed files with 5 additions and 0 deletions
  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: