summaryrefslogtreecommitdiff
path: root/recipes/images/files/library/fwd_mmc.scr
blob: 561a861c2fea5482a4e70f0f1379c5f8b3a829f0 (plain)
1
2
3
4
5
6
7
8
9
#the update.sh script renames this. fwd_mmc.scr -> ../flash_mmc.img
#flash_mmc has been renamed to flash_blk, ensure compatibilty when updating from older versions
test -n ${interface} || setenv interface mmc
test -n ${drive} || setenv drive 1
test "${board_name}" = "colibri_t20" && setenv drive 0
test "${board_name}" = "colibri_vf" && setenv drive 0

fatload ${interface} ${drive}:1 ${loadaddr} ${board_name}/flash_blk.img
source ${loadaddr}