]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Revert "nvme: Enable FUA"
authorTom Rini <trini@konsulko.com>
Fri, 19 Nov 2021 01:18:34 +0000 (20:18 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 19 Nov 2021 01:18:34 +0000 (20:18 -0500)
Unaddressed review comments.

This reverts commit b6bfb8971dd039a60e1cff1895ab9be8be0915b3.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/nvme/nvme.c

index 9623c896a15d20c337fe3764d11ccffae34f7f6e..3c529a2fce22b3d4591c974f3a60954f4416faca 100644 (file)
@@ -762,10 +762,6 @@ static ulong nvme_blk_rw(struct udevice *udev, lbaint_t blknr,
        c.rw.appmask = 0;
        c.rw.metadata = 0;
 
-       /* Enable FUA for data integrity if vwc is enabled */
-       if (dev->vwc)
-               c.rw.control |= NVME_RW_FUA;
-
        while (total_lbas) {
                if (total_lbas < lbas) {
                        lbas = (u16)total_lbas;