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

David Woodhouse dwmw2 at infradead.org
Fri Jun 8 01:08:19 EST 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 Linuxppc-dev mailing list