lantiq: fix mtd_split for brnboot firmware images
[openwrt.git] / target / linux / lantiq / patches-3.10 / 0100-mtd-split.patch
index 1911b4451ed08b48c671c3fd8a02cc5e85ea9f43..c2ce9c1b427387b2c07d2f495094d75ee7712b56 100644 (file)
@@ -34,7 +34,7 @@
 +      size_t len;
 +      int ret;
 +
-+      if (strcmp(name, "rootfs") != 0)
++      if (strcmp(name, "firmware") != 0)
 +              return;
 +      while (part_size < end) {
 +              long size_min = part_size - 0x400 - 12 - offset;