imx93: Update 9x9 part fuses checking
authorYe Li <ye.li@nxp.com>
Tue, 3 Dec 2024 15:42:47 +0000 (23:42 +0800)
committerFabio Estevam <festevam@gmail.com>
Sat, 7 Dec 2024 12:07:04 +0000 (09:07 -0300)
According to iMX93 fuse burn plan, all 9x9 parts will have USB2,
ENET1 (FEC), LVDS1, CSI1 and DSI1 disabled. The codes missed ENET1
fuse when detecting 9x9. Although it still can detect 9x9 correctly,
we add the ENET1 fuse to the check to be more accurate.

Fixes: 58da865e27f ("imx9: add i.MX93 variants support")
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx9/soc.c

index 6837ac8..d30a3b0 100644 (file)
@@ -195,7 +195,7 @@ static u32 get_cpu_variant_type(u32 type)
 
        bool npu_disable = !!(val & BIT(13));
        bool core1_disable = !!(val & BIT(15));
-       u32 pack_9x9_fused = BIT(4) | BIT(17) | BIT(19) | BIT(24);
+       u32 pack_9x9_fused = BIT(4) | BIT(5) | BIT(17) | BIT(19) | BIT(24);
 
        /* Low performance 93 part */
        if (((val >> 6) & 0x3F) == 0xE && npu_disable)