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

Scott Wood
2016-06-10T02:07:00Z

On Mon, 2016-06-06 at 18:02 +0200, Boris Brezillon wrote:
> On Mon, 30 May 2016 13:57:56 -0500
> Scott Wood <oss@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