diff --git a/common/spl/spl_fat.c b/common/spl/spl_fat.c index e9ee5487d6e..8b1d01cff4b 100644 --- a/common/spl/spl_fat.c +++ b/common/spl/spl_fat.c @@ -96,9 +96,11 @@ int spl_load_image_fat(struct spl_image_info *spl_image, err = spl_load(spl_image, bootdev, &load, size, 0); end: - if (err < 0) + if (err < 0) { + spl_fat_force_reregister(); printf("%s: error reading image %s, err - %d\n", __func__, filename, err); + } return err; }