]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx8m: imx8mq: get chip rev for B1 revision
authorPeng Fan <peng.fan@nxp.com>
Wed, 16 Oct 2019 10:24:17 +0000 (10:24 +0000)
committerStefano Babic <sbabic@denx.de>
Sun, 3 Nov 2019 16:04:16 +0000 (17:04 +0100)
commit9e094455495081979cd20ac730a42508717e37b5
tree9c3cababa92f3a8ede22f0ee8672021b222364ad
parentcde421cfc8f378fef9bd9b90e20c9633fe63d709
imx8m: imx8mq: get chip rev for B1 revision

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 <peng.fan@nxp.com>
arch/arm/mach-imx/imx8m/clock_imx8mq.c
arch/arm/mach-imx/imx8m/soc.c