[PATCH] nvme: fix for big endian systems

Bin Meng bmeng.cn at gmail.com
Sat Jun 19 16:15:01 CEST 2021


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>


More information about the U-Boot mailing list