diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2015-11-03 01:47:43 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2015-11-03 01:51:25 +0100 |
commit | 81b13b31a011aa10400c4064ab341f4e015ec89b (patch) | |
tree | 6f69ec8bf516b78598f1940d2acc5c62067aac71 /recipes/images/files/library/fwd_blk.scr | |
parent | 0f12bcf0c284e98ccac1e8478a0beec9dd78c7ff (diff) |
update.sh: set board_name for Colibri VF50/VF61
Up until now, U-Boot for Colibri VF50/VF61 did not had an
environment variable board_name. Use the soc environment
variable to set the board_name.
Diffstat (limited to 'recipes/images/files/library/fwd_blk.scr')
-rw-r--r-- | recipes/images/files/library/fwd_blk.scr | 2 |
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 |