[coreboot-gerrit] New patch to review for coreboot: 7693e7d boardstatus: Take default board name from MAINBOARD_PART_NUMBER.

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Sat Jan 18 22:19:16 CET 2014


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4722

-gerrit

commit 7693e7dd7f22bd26f09895e22570f6a2f8c031a8
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Sat Jan 18 22:18:01 2014 +0100

    boardstatus: Take default board name from MAINBOARD_PART_NUMBER.
    
    Change-Id: I2f775e8919cfd35bbcf5910a8b25776e833ee100
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 util/board_status/to-wiki/towiki.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/util/board_status/to-wiki/towiki.sh b/util/board_status/to-wiki/towiki.sh
index 19ccf85..35949e4 100755
--- a/util/board_status/to-wiki/towiki.sh
+++ b/util/board_status/to-wiki/towiki.sh
@@ -184,6 +184,9 @@ EOF
 			vendor_nice="$(echo "$vendor" |sed -e "s/\(.\)/\u\1/g")";
 		fi
 		if [ -z "$board_nice" ]; then
+			board_nice="$(grep -A2 -i "config MAINBOARD_PART_NUMBER" "$COREBOOT_DIR"/src/mainboard/$vendor/$board/Kconfig|tail -n1|sed -n 's,^[[:space:]]*default[[:space:]]*"\(.*\)"[[:space:]]*$,\1,p')"
+		fi
+		if [ -z "$board_nice" ]; then
 			board_nice="$(echo "$board" |sed -e "s,_, ,g;s/\(.\)/\u\1/g")";
 		fi
 



More information about the coreboot-gerrit mailing list