Loading
Allow upgrades of only one slot
When only upgrading one slot, the swap type for the non upgraded slot is BOOT_SWAP_TYPE_FAIL instead of NONE. Account for this, and check slot 0 in this case. This is probably not the correct solution, but it is unclear of the timing of when the dependencies of the other images first slot would be checked. Signed-off-by:David Brown <david.brown@linaro.org> Signed-off-by:
Fabio Utzig <utzig@apache.org>