[U-Boot] [PATCH 5/7] mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data

Scott Wood oss at buserror.net
Fri Jun 10 04:07:00 CEST 2016


On Mon, 2016-06-06 at 18:02 +0200, Boris Brezillon wrote:
> On Mon, 30 May 2016 13:57:56 -0500
> Scott Wood <oss at buserror.net> wrote:
> 
> > These functions are part of the Linux 4.6 sync.  They are being added
> > before the main sync patch in order to make it easier to address the
> > issue across all NAND drivers (many/most of which do not closely track
> > their Linux counterparts) separately from other merge issues.
> 
> Some drivers are still directly accessing chip->mtd. Here is a patch
> fixing those places [1] (not tested).
> 
> [1] http://code.bulix.org/inu69a-100476

Could you send this as a proper patch?

Though some of the changes seem to be removing SPL mtd pointers rather than
converting chip->mtd.  I don't care much whether those pointers are retained
but it's not "directly accessing chip->mtd".

-Scott



More information about the U-Boot mailing list