* [U-Boot] [PATCH] powerpc/corenet: CPC1 speculation disable
@ 2013-11-28 6:58 shh.xie at gmail.com
2013-12-04 23:37 ` York Sun
0 siblings, 1 reply; 2+ messages in thread
From: shh.xie at gmail.com @ 2013-11-28 6:58 UTC (permalink / raw)
To: u-boot
From: Dave Liu <daveliu@freescale.com>
In PBL RAMBOOT(SPI/SD/NAND boot) mode, CPC1 used as SRAM, should disable
CPC1 speculation and keep it till relocation. Otherwise, speculation
transactions will go to DDR controller, it will cause problem.
Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
---
arch/powerpc/cpu/mpc85xx/start.S | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/powerpc/cpu/mpc85xx/start.S b/arch/powerpc/cpu/mpc85xx/start.S
index 6a81fa7..db84d10 100644
--- a/arch/powerpc/cpu/mpc85xx/start.S
+++ b/arch/powerpc/cpu/mpc85xx/start.S
@@ -886,7 +886,11 @@ delete_ccsr_l2_tlb:
erratum_set_dcsr 0xb0008 0x00900000
erratum_set_dcsr 0xb0e40 0xe00a0000
erratum_set_ccsr 0x18600 CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY
+#ifdef CONFIG_RAMBOOT_PBL
+ erratum_set_ccsr 0x10f00 0x495e5000
+#else
erratum_set_ccsr 0x10f00 0x415e5000
+#endif
erratum_set_ccsr 0x11f00 0x415e5000
/* Make temp mapping uncacheable again, if it was initially */
--
1.8.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] powerpc/corenet: CPC1 speculation disable
2013-11-28 6:58 [U-Boot] [PATCH] powerpc/corenet: CPC1 speculation disable shh.xie at gmail.com
@ 2013-12-04 23:37 ` York Sun
0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2013-12-04 23:37 UTC (permalink / raw)
To: u-boot
On 11/27/2013 10:58 PM, shh.xie at gmail.com wrote:
> From: Dave Liu <daveliu@freescale.com>
>
> In PBL RAMBOOT(SPI/SD/NAND boot) mode, CPC1 used as SRAM, should disable
> CPC1 speculation and keep it till relocation. Otherwise, speculation
> transactions will go to DDR controller, it will cause problem.
>
> Signed-off-by: Dave Liu <daveliu@freescale.com>
> Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
> ---
Applied to u-boot-mpc85xx/master. Thanks.
York
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-04 23:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-28 6:58 [U-Boot] [PATCH] powerpc/corenet: CPC1 speculation disable shh.xie at gmail.com
2013-12-04 23:37 ` York Sun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox