Commit 2fff64e9 authored by Rabeeh Khoury's avatar Rabeeh Khoury Committed by GitHub

Merge pull request #59 from hrw/fix/check-ddr-speed-at-start

runme: check DDR speed before doing build
parents 5b09619d e232bb73
...@@ -81,6 +81,15 @@ case "${SERDES}" in ...@@ -81,6 +81,15 @@ case "${SERDES}" in
;; ;;
esac esac
case "${DDR_SPEED}" in
2400|2600|2900|3200)
;;
*)
echo "Please use one of allowed DDR speeds: 2400, 2600, 2900, 3200"
exit -1
;;
esac
echo "Checking all required tools are installed" echo "Checking all required tools are installed"
set +e set +e
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment