[coreboot-gerrit] New patch to review for coreboot: 341fc3c DO NOT MERGE: to-wiki.sh: Unify flash information
Denis Carikli (GNUtoo@no-log.org)
gerrit at coreboot.org
Sun May 3 21:59:58 CEST 2015
Denis Carikli (GNUtoo at no-log.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10083
-gerrit
commit 341fc3cdca48273e51166e88b41e3a23466903d0
Author: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Date: Sun May 3 14:28:26 2015 +0200
DO NOT MERGE: to-wiki.sh: Unify flash information
Change-Id: Id14ccb89665ea5b43639af9db3afd0a242972fbb
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
---
util/board_status/to-wiki/towiki.sh | 49 +++++++++++++++++++------------------
1 file changed, 25 insertions(+), 24 deletions(-)
diff --git a/util/board_status/to-wiki/towiki.sh b/util/board_status/to-wiki/towiki.sh
index d41ac5b..faa6b99 100755
--- a/util/board_status/to-wiki/towiki.sh
+++ b/util/board_status/to-wiki/towiki.sh
@@ -50,10 +50,9 @@ cat <<EOF
! align="left" |
* CPU
* Socket
-! align="left" | <span title="ROM chip package">ROM <sup>1</sup></span>
-! align="left" | <span title="ROM chip protocol">P <sup>2</sup></span>
-! align="left" | <span title="ROM chip socketed?">S <sup>3</sup></span>
-! align="left" | <span title="Board supported by flashrom?">F <sup>4</sup></span>
+! align="left" |
+* Flash chip
+* Flashrom support
EOF
for category in desktop server laptop half mini settop "eval" sbc emulation misc unclass; do
@@ -403,37 +402,39 @@ EOF
echo "|"
echo "* $cpu_nice"
echo "* $socket_nice"
- if [ "$rom_package" = "" ]; then
- echo "| ?"
+
+ if [ "$flashrom_support" = "y" ]; then
+ echo "| style=\"background:lime\" |"
+ elif [ "$flashrom_support" = "n" ]; then
+ echo "| style=\"background:red\" |"
+ elif [ "$flashrom_support" = "coreboot-only" ]; then
+ echo "| style=\"background:yellow\" |"
else
- echo "| $rom_package"
+ echo "|"
fi
- if [ "$rom_protocol" = "" ]; then
- echo "| ?"
- else
- echo "| $rom_protocol"
+
+ if [ "$rom_package" != "" ]; then
+ echo "$rom_package"
+ fi
+ if [ "$rom_protocol" != "" ]; then
+ echo "$rom_protocol"
fi
if [ "$rom_socketed" = "y" ]; then
- echo "| style=\"background:lime\" | Y"
+ echo "removable"
elif [ "$rom_socketed" = "n" ]; then
- echo "| style=\"background:red\" | N"
- elif [ "$flashrom_support" = "variable" ]; then
- echo "| ...<sup>7</sup>"
- elif [ "$rom_socketed" = "" ]; then
- echo "| ?"
- else
- echo "| $rom_socketed"
+ echo "soldered"
fi
+
if [ "$flashrom_support" = "y" ]; then
- echo "| style=\"background:lime\" | Y"
+ echo "Supported"
elif [ "$flashrom_support" = "n" ]; then
- echo "| style=\"background:red\" | N"
+ echo "Not supported"
elif [ "$flashrom_support" = "coreboot-only" ]; then
- echo "| style=\"background:yellow\" | ...<sup>6</sup>"
+ echo "Only from coreboot"
elif [ "$flashrom_support" = "" ]; then
- echo "| ?"
+ echo "?"
else
- echo "| $flashrom_support"
+ echo "$flashrom_support"
fi
echo
done
More information about the coreboot-gerrit
mailing list