> On 11/06/2011 01:43 PM, Marek Vasut wrote: > > Yes sure, but the controller driver sets it as a chip option as there's > > no "controller" option field and I don't want to introduce new > > definition consuming one bit in the top half of chip option. > > Let's see how evolve the discussion - allowing to mix chip and > controller options was
Exactly, I consider this patch more as a workaround, so figuring out a proper solution would be awesome. Though I'm quite sure there is a bug in the MTD layer. > > > No, the controller must set NAND_NO_SUBPAGE_WRITE as a chip option in its > > driver to force it so it should work for both cases. > > As far as I remember (not very well, I admit..), the only way for the > driver to set them was in the board_nand_init(), but these options are > overwritten when the flash is detected, making NAND_NO_SUBPAGE_WRITE > worthless. Am I wrong ? > This is what this patch works around ;-) _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

