Skip to contentSkip to conversation

p4080: add readback to bootpage translation window

PATCH New Kumar Gala 1 participant 1 message Nov 18, 2009

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 p4080: add readback to bootpage translation window

We need to add the readback to bootpage translation LAW to make it effect.

---
 cpu/mpc85xx/mp.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
cpu/mpc85xx/mp.c +3 -0
index 00b6450..6fac016 100644
@@ -169,6 +169,9 @@ static void plat_mp_up(unsigned long bootpg)
 	e = find_law(bootpg);
 	out_be32(&ccm->bstrar, LAW_EN | e.trgt_id << 20 | LAW_SIZE_4K);
 
+	/* readback to sync write */
+	in_be32(&ccm->bstrar);
+
 	/* disable time base at the platform */
 	out_be32(&rcpm->ctbenrl, cpu_up_mask);
 
Signature · 1 line
1.6.0.6