diff options
Diffstat (limited to 'tools/env/fw_env.c')
| -rw-r--r-- | tools/env/fw_env.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index bf3023419..0dee68262 100644 --- a/tools/env/fw_env.c +++ b/tools/env/fw_env.c @@ -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; |