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:
Vladimir Serbinenko 2014-01-19 14:44:04 +01:00
parent c9babb278f
commit 08c372f460
1 changed files with 6 additions and 6 deletions

View File

@ -317,8 +317,8 @@ EOF
cpu_nice="Intel® 2nd Gen (Sandybridge) Core i3/i5/i7" cpu_nice="Intel® 2nd Gen (Sandybridge) Core i3/i5/i7"
socket_nice="Socket RPGA989";; socket_nice="Socket RPGA989";;
*) *)
echo "unknown northbridge $northbridge" >&2; cpu_nice="$northbridge"
exit 1;; socket_nice="$northbridge";;
esac esac
;; ;;
INTEL_SOCKET_441) INTEL_SOCKET_441)
@ -366,13 +366,13 @@ EOF
cpu_nice="?" cpu_nice="?"
socket_nice="?";; socket_nice="?";;
*) *)
echo "unknown northbridge $northbridge ($vendor/$board)" >&2; cpu_nice="$northbridge"
exit 1;; socket_nice="$northbridge";;
esac esac
;; ;;
*) *)
echo "unknown CPU $cpu" >&2; cpu_nice="$cpu"
exit 1;; socket_nice="$cpu";;
esac esac
echo "|- bgcolor=\"#$color\"" echo "|- bgcolor=\"#$color\""