summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/board.sh2
-rw-r--r--src/board/taurinus_x200_4mb.sh9
-rw-r--r--src/board/taurinus_x200_8mb.sh9
-rw-r--r--src/board/x200_4mb.sh9
-rw-r--r--src/board/x200_8mb.sh9
5 files changed, 37 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
-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'