misc: fuse: Update imx8 fuse driver for 8QM
Subsystems (2)
PATCH 1/2 misc: fuse: Update imx8 fuse driver for 8QM
From: Ye Li <[email protected]>
Add the second ECC fuse area for 8QM which is different with 8QXP
--- drivers/misc/imx8/fuse.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/misc/imx8/fuse.c +5 -0
@@ -15,8 +15,13 @@ DECLARE_GLOBAL_DATA_PTR;#define FSL_ECC_WORD_START_1 0x10#define FSL_ECC_WORD_END_1 0x10F +#ifdef CONFIG_IMX8QM +#define FSL_ECC_WORD_START_2 0x1A0 +#define FSL_ECC_WORD_END_2 0x1FF +#elif defined(CONFIG_IMX8QXP )#define FSL_ECC_WORD_START_2 0x220#define FSL_ECC_WORD_END_2 0x31F +#endif #define FSL_QXP_FUSE_GAP_START 0x110#define FSL_QXP_FUSE_GAP_END 0x21F
Signature · 1 line
2.16.4
PATCH 2/2 misc: scu: Increase the timeout for MU communication
From: Ye Li <[email protected]>
When power on some sources in Video system, current timeout 10ms is too short and returns before SCU response. So increase the timeout to 1s.
--- drivers/misc/imx8/scu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/imx8/scu.c +1 -1
@@ -74,7 +74,7 @@ static int mu_hal_receivemsg(struct mu_type *base, u32 reg_index, u32 *msg)assert (reg_index <MU_TR_COUNT );/* Wait RX register to be full. */ - ret =readl_poll_timeout (&base->sr, val, val & mask,10000 ); + ret =readl_poll_timeout (&base->sr, val, val & mask,1000000 );if (ret <0 ) {printf ("%s timeout\n" , __func__);return -ETIMEDOUT ;
Signature · 1 line
2.16.4
PATCH 2/2 misc: scu: Increase the timeout for MU communication
Quoted 6 lines
From: Ye Li <[email protected]>
When power on some sources in Video system, current timeout 10ms is too short and returns before SCU response. So increase the timeout to 1s.Signed-off-by Ye Li <[email protected]>Signed-off-by Peng Fan <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH 1/2 misc: fuse: Update imx8 fuse driver for 8QM
In reply to Peng FanQuoted 4 lines
From: Ye Li <[email protected]>
Add the second ECC fuse area for 8QM which is different with 8QXPSigned-off-by Ye Li <[email protected]>Signed-off-by Peng Fan <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================