summaryrefslogtreecommitdiff
path: root/util/board_status/to-wiki
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-01-19 14:44:04 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2014-01-19 19:09:50 +0100
commit08c372f460292434926af7651c91759af9df428a (patch)
treec1358dcef395eb51cc0161d399ce00b4247f1545 /util/board_status/to-wiki
parentc9babb278f2de86022979db04628e99f333b73c8 (diff)
downloadcoreboot-08c372f460292434926af7651c91759af9df428a.tar.xz
boardstatus: Do not error out on unknown CPU/northbridge
On bot, stderr is unmonitored, so it make no sense to stop with an error. Instead use some sensible guesses. Change-Id: I6292e9fbf446b751471b95f86e7515c6680bddf3 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/4748 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'util/board_status/to-wiki')
-rwxr-xr-xutil/board_status/to-wiki/towiki.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/board_status/to-wiki/towiki.sh b/util/board_status/to-wiki/towiki.sh
index c174527403..fd0dcf0b8c 100755
--- a/util/board_status/to-wiki/towiki.sh
+++ b/util/board_status/to-wiki/towiki.sh
@@ -317,8 +317,8 @@ EOF
cpu_nice="IntelĀ® 2nd Gen (Sandybridge) Core i3/i5/i7"
socket_nice="Socket RPGA989";;
*)
- echo "unknown northbridge $northbridge" >&2;
- exit 1;;
+ cpu_nice="$northbridge"
+ socket_nice="$northbridge";;
esac
;;
INTEL_SOCKET_441)
@@ -366,13 +366,13 @@ EOF
cpu_nice="?"
socket_nice="?";;
*)
- echo "unknown northbridge $northbridge ($vendor/$board)" >&2;
- exit 1;;
+ cpu_nice="$northbridge"
+ socket_nice="$northbridge";;
esac
;;
*)
- echo "unknown CPU $cpu" >&2;
- exit 1;;
+ cpu_nice="$cpu"
+ socket_nice="$cpu";;
esac
echo "|- bgcolor=\"#$color\""