arch: mach-imx: imx8m: fix unique_id read error for imx8mp
authorPeng Fan <peng.fan@nxp.com>
Fri, 19 Mar 2021 07:57:15 +0000 (15:57 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 8 Apr 2021 07:18:29 +0000 (09:18 +0200)
commit0d77b4522f061705e238b9116c9321ed9630b0b7
tree5933dff36ea2d303c7e2d02bf928d35a03e2d336
parent8f9f6ba85556a4ab9f1df93d85ff44ce0dbbd4fa
arch: mach-imx: imx8m: fix unique_id read error for imx8mp

The value of Unique ID in uboot and kernel is different for iMX8MP:

serial#=02e1444a0002aaff
root@imx8mpevk:/sys/devices/soc0# cat soc_uid
D699300002E1444A

The reason is that Fuse Addresses of Unique ID of iMX8MP are 0x420 and
0x430.

Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Alice Guo <alice.guo@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-imx8m/imx-regs.h