summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorArnaud Patard <arnaud.patard@rtp-net.org>2017-11-29 16:09:46 +0100
committerKevin Hilman <khilman@baylibre.com>2017-11-30 15:29:44 -0800
commit044d71bc6cdee8980d0fdc35ec79a0d5818b2ce3 (patch)
tree15c436990100f827d26f267c970f094b17a0697d /arch
parent0f0e290a662a89067f7c251d24ad6f63ceb1f2d6 (diff)
downloadlinux-stable-044d71bc6cdee8980d0fdc35ec79a0d5818b2ce3.tar.gz
linux-stable-044d71bc6cdee8980d0fdc35ec79a0d5818b2ce3.tar.bz2
linux-stable-044d71bc6cdee8980d0fdc35ec79a0d5818b2ce3.zip
meson-gx-socinfo: Fix package id parsing
I've noticed the following message while booting a S905X based board: soc soc0: Amlogic Meson GXL (S905D) Revision 21:82 (b:2) Detected The S905D string is obviously wrong. The vendor code does: ... ver = (readl(assist_hw_rev) >> 8) & 0xff; meson_cpu_version[MESON_CPU_VERSION_LVL_MINOR] = ver; ver = (readl(assist_hw_rev) >> 16) & 0xff; meson_cpu_version[MESON_CPU_VERSION_LVL_PACK] = ver; ... while the current code does: ... ... This means that the current mainline code has package id and minor version reversed. Fixes: a9daaba2965e8 ("soc: Add Amlogic SoC Information driver") Signed-off-by: Arnaud Patard <apatard@hupstream.com> Acked-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions