diff options
Diffstat (limited to 'common/fastboot.c')
-rw-r--r-- | common/fastboot.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/fastboot.c b/common/fastboot.c index f8ed40c86e..330a06f5a3 100644 --- a/common/fastboot.c +++ b/common/fastboot.c @@ -673,7 +673,8 @@ static void cb_flash(struct fastboot *fb, const char *cmd) goto out; } - if (IS_ENABLED(CONFIG_BAREBOX_UPDATE) && filetype_is_barebox_image(filetype)) { + if (IS_ENABLED(CONFIG_BAREBOX_UPDATE) && + (filetype_is_barebox_image(filetype) || strstarts(fentry->name, "bbu-"))) { void *buf; struct bbu_handler *handler; struct bbu_data data = { |