Do not use rpi3 firmware for rpi2

This commit is contained in:
Jan Schneider 2020-11-22 22:03:26 +01:00
parent d30ee577b5
commit 93f33ba20e
1 changed files with 1 additions and 3 deletions

View File

@ -1064,9 +1064,7 @@ proc ::rmupdate::get_available_firmware_downloads {} {
set fn [lindex [split $href "/"] end]
set tmp [split $fn "-"]
set v [lindex $tmp [expr {[llength $tmp] - 1}]]
if { $v == "rpi3" && $rpi_version == "rpi2" } {
write_log 4 "Using rpi3 package for rpi2: ${href}"
} elseif { $v == "ova" && $rpi_version == "ova-KVM" } {
if { $v == "ova" && $rpi_version == "ova-KVM" } {
write_log 4 "Using ova package for ova-KVM: ${href}"
} elseif { $rpi_version != $v } {
continue