[PATCH] powerpc: Create "rom" (MTD) device prpmc2800

David Woodhouse dwmw2 at infradead.org
Thu Jun 7 11:08:19 EDT 2007


On Wed, 2007-06-06 at 16:41 +0400, Sergei Shtylyov wrote:
> >       if (*part++ & 1) /* bit 0 set signifies read only partition */
> >               (*parts)[i].mask_flags = MTD_WRITEABLE;
> 
> > Doesn't that make it RW if bit 0 is set? 

What do you get if you mask out the WRITEABLE flag?

-- 
dwmw2





More information about the linux-mtd mailing list