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>
This commit is contained in:
parent
c9babb278f
commit
08c372f460
|
@ -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\""
|
||||
|
|
Loading…
Reference in New Issue