diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-05-23 15:06:48 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-05-23 15:06:50 +0200 |
commit | 1f42bc1a77b253165b8013b91c589e59422de9cd (patch) | |
tree | 52fe740279cd321031016b62d079f3951c567d78 /common/imx-bbu-nand-fcb.c | |
parent | aab98cbad9cb54991c9bc42e8aecb53395f03fea (diff) | |
download | barebox-1f42bc1a77b253165b8013b91c589e59422de9cd.tar.gz barebox-1f42bc1a77b253165b8013b91c589e59422de9cd.tar.xz |
imx-bbu-nand-fcb: always print info messages in read_firmware_all()
read_firmware_all() prints some info messages at the end. There's
one case where we bail out early and no messages are printed. This
is confusing, drop the return and always print messages.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/imx-bbu-nand-fcb.c')
-rw-r--r-- | common/imx-bbu-nand-fcb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/common/imx-bbu-nand-fcb.c b/common/imx-bbu-nand-fcb.c index 21f567be88..d62cae5bdd 100644 --- a/common/imx-bbu-nand-fcb.c +++ b/common/imx-bbu-nand-fcb.c @@ -1166,7 +1166,6 @@ static void read_firmware_all(struct mtd_info *mtd, struct fcb_block *fcb, void *unused_refresh = 1; *used = first; *data = primary; - return; } else if (secondary && !primary) { *used_refresh = secondary_refresh; *unused_refresh = 1; |