From: Dave Liu Date: Wed, 18 Nov 2009 02:01:24 +0000 (-0600) Subject: p4080: add readback to bootpage translation window X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=f5ecc6e027150289c2a46db7cec197b2b6da893c;p=u-boot.git 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 Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala --- diff --git a/cpu/mpc85xx/mp.c b/cpu/mpc85xx/mp.c index 7626eb8e72..8568f5dbae 100644 --- a/cpu/mpc85xx/mp.c +++ b/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);