[U-Boot] [PATCH v4] x86: ich-spi: Convert driver to spi-mem ops

Bin Meng bmeng.cn at gmail.com
Thu Aug 8 14:50:30 UTC 2019


On Thu, Aug 8, 2019 at 9:50 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> On Fri, Aug 2, 2019 at 2:38 PM Bernhard Messerklinger
> <bernhard.messerklinger at br-automation.com> wrote:
> >
> > With the introduction of the new spi-mem model operations changed
> > slightly. The new spi-mem operations make things a bit easier to
> > handle for ich-spi flash interface. This patch converts the ich-spi
> > driver by using spi-mem operations.
> >
> > Signed-off-by: Bernhard Messerklinger <bernhard.messerklinger at br-automation.com>
> > ---
> >
> > Changes in v4:
> > - fix changelog; fix local variable types and order
> > Changes in v3:
> > - update erase op code handling to work with latest master
> > spi-nor driver
> > Changes in v2:
> > - make 2 routines static; update commit message a little bit
> >
> >  drivers/spi/ich.c | 258 +++++++++++++++++-----------------------------
> >  drivers/spi/ich.h |   9 +-
> >  2 files changed, 95 insertions(+), 172 deletions(-)
> >
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
>
> Tested on Intel CrownBay and MinnowMax
> Tested-by: Bin Meng <bmeng.cn at gmail.com>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list