• Ye Li's avatar
    MLK-19465 imx8mq: Fix cpu rev issue on B0.1 chip · 8be98e93
    Ye Li authored
    We read the ROM version to determine the CPU revision before B1 chip.
    The rom version is 4 bytes word, it has major version at low byte,
    minor version at second byte.
    
    On B0.1 chip, the value is 0x1020 not 0x20, if reading the word and comparing
    with 0x20, the result is wrong.
    
    Fix the issue by only reading the lowest byte for major version.
    Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
    (cherry picked from commit 8d0812e63155cca91ecb78c630a450e7d5e5fd00)
    8be98e93
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
cmd Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
CleanSpec.mk Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...