[PATCH] nvme: fix for big endian systems

Bin Meng bmeng.cn at gmail.com
Wed Jun 23 09:22:50 CEST 2021


On Sat, Jun 19, 2021 at 10:15 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> On Sat, May 8, 2021 at 12:49 AM David Lamparter <equinox at diac24.net> wrote:
> >
> > writel() and co. already include the endian swap;  doing the swap twice
> > is, er, unhelpful.
> >
> > Tested on a P4080DS, which boots perfectly fine off NVMe with this.
> >
> > Signed-off-by: David Lamparter <equinox at diac24.net>
> > ---
> >  drivers/nvme/nvme.c | 8 ++++----
> >  1 file changed, 4 insertions(+), 4 deletions(-)
> >
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list