From: Kumar Gala Date: Tue, 17 Nov 2009 20:02:45 -0600 Subject: [U-Boot] [PATCH] p4080: add readback to bootpage translation window Message-ID: <1258509765-16945-1-git-send-email-galak@kernel.crashing.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- cpu/mpc85xx/mp.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/cpu/mpc85xx/mp.c b/cpu/mpc85xx/mp.c index 00b6450..6fac016 100644 --- a/cpu/mpc85xx/mp.c +++ b/cpu/mpc85xx/mp.c @@ -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); -- 1.6.0.6