summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-10-28 15:45:59 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-10-28 15:45:59 (EDT)
commit32c3674524c178fe87e9611aa02fe9f167627a2c (patch)
treeec78430735b1b60b03eb32744ffcd8a3bfd895a0 /src
parentef0923da59d7c2669ad3a6d2ce57c8ab0c3b3457 (diff)
downloadfirman.sh-32c3674524c178fe87e9611aa02fe9f167627a2c.zip
firman.sh-32c3674524c178fe87e9611aa02fe9f167627a2c.tar.gz
firman.sh-32c3674524c178fe87e9611aa02fe9f167627a2c.tar.bz2
board_prepare_rom(): New function
Diffstat (limited to 'src')
-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'