* [PATCH 1/2] misc: fuse: Update imx8 fuse driver for 8QM
@ 2020-05-03 14:31 Peng Fan
2020-05-03 14:31 ` [PATCH 2/2] misc: scu: Increase the timeout for MU communication Peng Fan
2020-05-11 10:15 ` [PATCH 1/2] misc: fuse: Update imx8 fuse driver for 8QM sbabic at denx.de
0 siblings, 2 replies; 4+ messages in thread
From: Peng Fan @ 2020-05-03 14:31 UTC (permalink / raw)
To: u-boot
From: Ye Li <ye.li@nxp.com>
Add the second ECC fuse area for 8QM which is different with 8QXP
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
drivers/misc/imx8/fuse.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/misc/imx8/fuse.c b/drivers/misc/imx8/fuse.c
index 1309215d4d..4d7f2f524d 100644
--- a/drivers/misc/imx8/fuse.c
+++ b/drivers/misc/imx8/fuse.c
@@ -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
--
2.16.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] misc: scu: Increase the timeout for MU communication
2020-05-03 14:31 [PATCH 1/2] misc: fuse: Update imx8 fuse driver for 8QM Peng Fan
@ 2020-05-03 14:31 ` Peng Fan
2020-05-11 10:18 ` sbabic at denx.de
2020-05-11 10:15 ` [PATCH 1/2] misc: fuse: Update imx8 fuse driver for 8QM sbabic at denx.de
1 sibling, 1 reply; 4+ messages in thread
From: Peng Fan @ 2020-05-03 14:31 UTC (permalink / raw)
To: u-boot
From: Ye Li <ye.li@nxp.com>
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 <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
drivers/misc/imx8/scu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/imx8/scu.c b/drivers/misc/imx8/scu.c
index a7654a7817..6916b754f6 100644
--- a/drivers/misc/imx8/scu.c
+++ b/drivers/misc/imx8/scu.c
@@ -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;
--
2.16.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 1/2] misc: fuse: Update imx8 fuse driver for 8QM
2020-05-03 14:31 [PATCH 1/2] misc: fuse: Update imx8 fuse driver for 8QM Peng Fan
2020-05-03 14:31 ` [PATCH 2/2] misc: scu: Increase the timeout for MU communication Peng Fan
@ 2020-05-11 10:15 ` sbabic at denx.de
1 sibling, 0 replies; 4+ messages in thread
From: sbabic at denx.de @ 2020-05-11 10:15 UTC (permalink / raw)
To: u-boot
> From: Ye Li <ye.li@nxp.com>
> Add the second ECC fuse area for 8QM which is different with 8QXP
> Signed-off-by: Ye Li <ye.li@nxp.com>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
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
=====================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/2] misc: scu: Increase the timeout for MU communication
2020-05-03 14:31 ` [PATCH 2/2] misc: scu: Increase the timeout for MU communication Peng Fan
@ 2020-05-11 10:18 ` sbabic at denx.de
0 siblings, 0 replies; 4+ messages in thread
From: sbabic at denx.de @ 2020-05-11 10:18 UTC (permalink / raw)
To: u-boot
> From: Ye Li <ye.li@nxp.com>
> 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 <ye.li@nxp.com>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
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
=====================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-05-11 10:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-03 14:31 [PATCH 1/2] misc: fuse: Update imx8 fuse driver for 8QM Peng Fan
2020-05-03 14:31 ` [PATCH 2/2] misc: scu: Increase the timeout for MU communication Peng Fan
2020-05-11 10:18 ` sbabic at denx.de
2020-05-11 10:15 ` [PATCH 1/2] misc: fuse: Update imx8 fuse driver for 8QM sbabic at denx.de
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox