diff options
-rw-r--r-- | src/board.sh | 6 |
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 |