From 32c3674524c178fe87e9611aa02fe9f167627a2c Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 28 Oct 2015 15:45:59 -0400 Subject: board_prepare_rom(): New function --- diff --git a/src/board.sh b/src/board.sh index 624d88d..5a038bc 100644 --- a/src/board.sh +++ b/src/board.sh @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -board_functions='get_name get_id match get_dists' +board_functions='get_name get_id match get_dists prepare_rom' boards='' diff --git a/src/board/taurinus_x200_4mb.sh b/src/board/taurinus_x200_4mb.sh index 6e0a3ca..8b8bbe5 100644 --- a/src/board/taurinus_x200_4mb.sh +++ b/src/board/taurinus_x200_4mb.sh @@ -50,6 +50,15 @@ board_taurinus_x200_4mb_get_dists() return 0 } +board_taurinus_x200_4mb_prepare_rom() +{ + if ich9_prepare_rom; then + return 0 + else + return 1 + fi +} + board_taurinus_x200_4mb_register() { register_board 'taurinus_x200_4mb' diff --git a/src/board/taurinus_x200_8mb.sh b/src/board/taurinus_x200_8mb.sh index 31a2220..13ae1b3 100644 --- a/src/board/taurinus_x200_8mb.sh +++ b/src/board/taurinus_x200_8mb.sh @@ -50,6 +50,15 @@ board_taurinus_x200_8mb_get_dists() return 0 } +board_taurinus_x200_8mb_prepare_rom() +{ + if ich9_prepare_rom; then + return 0 + else + return 1 + fi +} + board_taurinus_x200_8mb_register() { register_board 'taurinus_x200_8mb' diff --git a/src/board/x200_4mb.sh b/src/board/x200_4mb.sh index 83cdafd..26aaf73 100644 --- a/src/board/x200_4mb.sh +++ b/src/board/x200_4mb.sh @@ -50,6 +50,15 @@ board_x200_4mb_get_dists() return 0 } +board_x200_4mb_prepare_rom() +{ + if ich9_prepare_rom; then + return 0 + else + return 1 + fi +} + board_x200_4mb_register() { register_board 'x200_4mb' diff --git a/src/board/x200_8mb.sh b/src/board/x200_8mb.sh index 228e4a2..413b6eb 100644 --- a/src/board/x200_8mb.sh +++ b/src/board/x200_8mb.sh @@ -50,6 +50,15 @@ board_x200_8mb_get_dists() return 0 } +board_x200_8mb_prepare_rom() +{ + if ich9_prepare_rom; then + return 0 + else + return 1 + fi +} + board_x200_8mb_register() { register_board 'x200_8mb' -- cgit v0.9.1