summaryrefslogtreecommitdiff
path: root/recipes/images/files/library/fwd_blk.scr
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/images/files/library/fwd_blk.scr')
-rw-r--r--recipes/images/files/library/fwd_blk.scr2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes/images/files/library/fwd_blk.scr b/recipes/images/files/library/fwd_blk.scr
index f694caa..fecedef 100644
--- a/recipes/images/files/library/fwd_blk.scr
+++ b/recipes/images/files/library/fwd_blk.scr
@@ -1,6 +1,8 @@
#the update.sh script renames this. fwd_blk.scr -> ../flash_blk.img
test -n ${interface} || setenv interface mmc
test -n ${drive} || setenv drive 1
+test -z "${board_name}" && test "${soc}" = "vf500" && setenv board_name colibri_vf
+test -z "${board_name}" && test "${soc}" = "vf610" && setenv board_name colibri_vf
test "${board_name}" = "colibri_t20" && setenv drive 0
test "${board_name}" = "colibri_vf" && setenv drive 0