瀏覽代碼

p4080: add readback to bootpage translation window

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

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Dave Liu 15 年之前
父節點
當前提交
f5ecc6e027
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      cpu/mpc85xx/mp.c

+ 3 - 0
cpu/mpc85xx/mp.c

@@ -165,6 +165,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);