summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-10-27 16:03:52 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-10-27 16:25:37 (EDT)
commit2236d60f413facd6841018a1836fc4a7f59e8b19 (patch)
tree3240e5c6e75f90c3c5c56e8b61dfe5e0a43220b8 /src
parent38948ca18b00e121ed08a4d7a857cbb2a1b72db7 (diff)
downloadfirman.sh-2236d60f413facd6841018a1836fc4a7f59e8b19.zip
firman.sh-2236d60f413facd6841018a1836fc4a7f59e8b19.tar.gz
firman.sh-2236d60f413facd6841018a1836fc4a7f59e8b19.tar.bz2
select_board(): Rework into a find_board() stub
Diffstat (limited to 'src')
-rw-r--r--src/board.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/board.sh b/src/board.sh
index 35d2bcf..a806be9 100644
--- a/src/board.sh
+++ b/src/board.sh
@@ -17,11 +17,13 @@
board_functions='get_name match validate_chip get_dists'
-select_board()
+find_board()
{
- local board="${1}"
+ local board=
local fn=
+ board='x200_8mb'
+
for fn in ${board_functions}; do
eval "board_${fn}() { board_${board}_${fn} \"\${@}\"; }"
done