bbu: Allow to refresh/repair images
Some SoCs allow to store multiple boot images on a device in order to
improve robustness. This adds a -r option to barebox_update to indicate
we do not want to make an update but instead repair/refresh an existing
image. Handlers which want to support this feature must set the
BBU_HANDLER_CAN_REFRESH flag during registration.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 1e6955f commit fa61152d972a47edcad1a3da0a6500db194c1a77
@Sascha Hauer Sascha Hauer authored on 10 Mar 2016
Showing 4 changed files
View
Documentation/user/updating.rst
View
commands/barebox-update.c
View
common/bbu.c
View
include/bbu.h