]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/env/fw_env.c
env: Add support for UBI environment
[karo-tx-uboot.git] / tools / env / fw_env.c
index bf30234190c0d2368dbf3ed83a9e86b507b4c2e1..0dee6826292eddbaff448378649f0fb5430fccd7 100644 (file)
@@ -968,7 +968,8 @@ static int flash_read (int fd)
                }
                if (mtdinfo.type != MTD_NORFLASH &&
                    mtdinfo.type != MTD_NANDFLASH &&
-                   mtdinfo.type != MTD_DATAFLASH) {
+                   mtdinfo.type != MTD_DATAFLASH &&
+                   mtdinfo.type != MTD_UBIVOLUME) {
                        fprintf (stderr, "Unsupported flash type %u on %s\n",
                                 mtdinfo.type, DEVNAME(dev_current));
                        return -1;