Re: [PATCH 2/4] nvmem: sunxi_sid: Drop the workaround on A64
From: Samuel Holland <samuel@sholland.org>
Date: 2022-08-16 03:46:13
Also in:
linux-devicetree, linux-sunxi, lkml
From: Samuel Holland <samuel@sholland.org>
Date: 2022-08-16 03:46:13
Also in:
linux-devicetree, linux-sunxi, lkml
Hi Icenowy, On 8/15/22 3:37 AM, Icenowy Zheng wrote:
在 2022-08-14星期日的 12:36 -0500,Samuel Holland写道:quoted
Now that the SRAM readout code is fixed by using 32-bit accesses, it always returns the same values as register readout, so the A64 variant no longer needs the workaround. This makes the D1 variant structure redundant, so remove it.Is this really tested on A64?
Yes, I tested this on a Pine A64-LTS. You can see the difference easily with
md.{b,w,l,q} in the U-Boot shell.
I verified that all three of the following are identical:
- NVMEM exported to sysfs with the register readout method
- NVMEM exported to sysfs with this patch series applied
- SRAM dump made with md.l in the U-Boot shell
Regards,
Samuel
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel