[U-Boot] [PATCH 01/10] imx8m: imx8mq: get chip rev for B1 revision

2019-11-04 Thread sbabic
> The i.MX8MQ B1 uses OCOTP_HW_OCOTP_READ_FUSE_DATA register for chip id. > It returns a magic number 0xff0055aa. update get_cpu_rev to support it, > and enable ocotp clock to access ocotp. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[U-Boot] [PATCH 01/10] imx8m: imx8mq: get chip rev for B1 revision

2019-10-16 Thread Peng Fan
The i.MX8MQ B1 uses OCOTP_HW_OCOTP_READ_FUSE_DATA register for chip id. It returns a magic number 0xff0055aa. update get_cpu_rev to support it, and enable ocotp clock to access ocotp. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/clock_imx8mq.c | 1 + arch/arm/mach-imx/imx8m/soc.c