> > I really would rather not duplicate all of this, which looks extremely
> > similar to regular NAND. Is there reason why we don't use the mtd_info
> > function pointer interface?
>
> Agreed, It's almost same as NAND code.
> Now nand code uses two modes, legacy and mtd. Because I don't want to
> break the NAND code , I used the duplicated code.
> Basically it should be used the common mtd style code except legacy.
>
> So first it added the current code, next time it tries to use the
> common interface and some code clean up.