diff --git a/util/board_status/to-wiki/towiki.sh b/util/board_status/to-wiki/towiki.sh index 19ccf85457..35949e4839 100755 --- a/util/board_status/to-wiki/towiki.sh +++ b/util/board_status/to-wiki/towiki.sh @@ -183,6 +183,9 @@ EOF if [ -z "$vendor_nice" ]; then 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