X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fmtd%2Fmtd-abi.h;h=615072c4da04415e8f14e02372078abb3d987941;hb=5b39dba5029108800b94a5f4f96e3a05417103ac;hp=8e501a75a7645cb8d65c811b1bd85c44e406a550;hpb=2aa6eb313e57a8254b17e60b8bb5e0a2570d7776;p=linux-2.6 diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h index 8e501a75a7..615072c4da 100644 --- a/include/mtd/mtd-abi.h +++ b/include/mtd/mtd-abi.h @@ -24,11 +24,12 @@ struct mtd_oob_buf { #define MTD_NORFLASH 3 #define MTD_NANDFLASH 4 #define MTD_DATAFLASH 6 +#define MTD_UBIVOLUME 7 #define MTD_WRITEABLE 0x400 /* Device is writeable */ #define MTD_BIT_WRITEABLE 0x800 /* Single bits can be flipped */ #define MTD_NO_ERASE 0x1000 /* No erase necessary */ -#define MTD_STUPID_LOCK 0x2000 /* Always locked after reset */ +#define MTD_POWERUP_LOCK 0x2000 /* Always locked after reset */ // Some common devices / combinations of capabilities #define MTD_CAP_ROM 0