mtd: spi-nor: ids: Add is25wp256 chip
[oweals/u-boot.git] / tools / socfpgaimage.c
index 390c9bb4025798875f189fedeccaba10d4a254e5..72d8b96f54140c535276040890d5dfc2d05997cd 100644 (file)
@@ -191,6 +191,7 @@ static int sfp_verify_header(const uint8_t *buf, uint8_t *ver)
        if (hdr_csum != sfp_csum)
                return -EINVAL;
 
+       *ver = header_v0.version;
        return img_len;
 }