Re: [PATCH 2/2] ARM: imx: Fix ocotp_compat for 6ull/6ulz
From: Leonard Crestez <hidden>
Date: 2019-12-10 23:00:48
On 10.12.2019 23:53, Fabio Estevam wrote:
On Tue, Dec 10, 2019 at 6:50 PM Leonard Crestez [off-list ref] wrote:quoted
The ocotp compatible string on imx6ull and imx6ulz is currently "fsl,imx6ull-ocotp" but the imx_soc_device_init function attempts to lookup for "fsl,imx6ul-ocotp" (single L). Fix the constant and make cat /sys/devices/soc0/serial_number print useful information instead of all-zeros. Fixes: 8267ff89b713 ("ARM: imx: Add serial number support for i.MX6/7 SoCs") Signed-off-by: Leonard Crestez <redacted>This fix has already been submitted by Christoph:
Sorry, didn't notice. My [PATCH 1/2] is still relevant though: for example the kernel could run against a very old DTB or maybe there's some other scenario where ocotp regmap lookup could fail. -- Regards, Leonard _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel