From: Tom Rini Date: Fri, 19 Nov 2021 01:18:34 +0000 (-0500) Subject: Revert "nvme: Enable FUA" X-Git-Tag: v2025.01-rc5-pxa1908~1591^2~21 X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=f9bab982ae9e459b4e64c8a4ca8569aac32bb3bf;p=u-boot.git Revert "nvme: Enable FUA" Unaddressed review comments. This reverts commit b6bfb8971dd039a60e1cff1895ab9be8be0915b3. Signed-off-by: Tom Rini --- diff --git a/drivers/nvme/nvme.c b/drivers/nvme/nvme.c index 9623c896a1..3c529a2fce 100644 --- a/drivers/nvme/nvme.c +++ b/drivers/nvme/nvme.c @@ -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;