]> git.sur5r.net Git - u-boot/blobdiff - common/image-sig.c
spi_flash: add a bunch of winbond flashes to id-table
[u-boot] / common / image-sig.c
index 8d2fd10db669e751c19ceeda8bf51d163da9609a..5a269d3289bfcf72d7ad0fd5aeff7862f4badf11 100644 (file)
@@ -377,8 +377,11 @@ int fit_config_check_sig(const void *fit, int noffset, int required_keynode,
        /* Add the strings */
        strings = fdt_getprop(fit, noffset, "hashed-strings", NULL);
        if (strings) {
-               fdt_regions[count].offset = fdt_off_dt_strings(fit) +
-                               fdt32_to_cpu(strings[0]);
+               /*
+                * The strings region offset must be a static 0x0.
+                * This is set in tool/image-host.c
+                */
+               fdt_regions[count].offset = fdt_off_dt_strings(fit);
                fdt_regions[count].size = fdt32_to_cpu(strings[1]);
                count++;
        }