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

Boris Brezillon
2016-06-15T07:59:15Z

Hi Scott,

On Thu, 09 Jun 2016 21:07:00 -0500
Scott Wood <oss@buserror.net> wrote:

> 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?

Sure, see below. You can squash the changes into you patch (hence the
!fixup prefix).

>
> 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".

Yes, I dropped all the unnecessary changes.

Regards,

Boris

>
> -Scott
>

--->8---