1
0
Fork 0

MLK-24828 ARM: imx: Add revision support for i.MX7ULP rev 2.2

On i.MX7ULP rev 2.2, the rev value is 3, so add support for this
revision, otherwise, it will use default revision of 1.0 which is
incorrect.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
(cherry picked from commit 339538500b30ff2b264602bea594fc380a15e81c)
5.4-rM2-2.2.x-imx-squashed
Anson Huang 2020-09-22 15:17:28 +08:00
parent 99fb4d4619
commit bad81140da
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,9 @@ static void __init imx7ulp_set_revision(void)
case 2:
imx_set_soc_revision(IMX_CHIP_REVISION_2_1);
break;
case 3:
imx_set_soc_revision(IMX_CHIP_REVISION_2_2);
break;
default:
imx_set_soc_revision(IMX_CHIP_REVISION_1_0);
break;