• Ye Li's avatar
    MLK-19433-2 imx8mq: Get chip rev for B1 revision · 9dba7a4d
    Ye Li authored
    
    
    The mscale B1 uses OCOTP_HW_OCOTP_READ_FUSE_DATA register for chip id.
    It returns a magic number 0xff0055aa.
    Update get_cpu_rev to support this way, also enable OCOTP clock to allow
    access OCOTP register.
    Signed-off-by: default avatarYe Li <ye.li@nxp.com>
    (cherry picked from commit 866631c2140b9352c6f74ec36d1a51fea40c0445)
    9dba7a4d
clock_imx8mq.c 21.8 KB