diff options
author | Dave Liu <daveliu@freescale.com> | 2009-11-17 20:01:24 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-01-05 13:49:09 -0600 |
commit | f5ecc6e027150289c2a46db7cec197b2b6da893c (patch) | |
tree | e8d57122500197b0e6356cb87897c691804b12ed /cpu | |
parent | 5fb6ea3ad3562f78df8693ed8c4ca89654236c4f (diff) | |
download | u-boot-imx-f5ecc6e027150289c2a46db7cec197b2b6da893c.zip u-boot-imx-f5ecc6e027150289c2a46db7cec197b2b6da893c.tar.gz u-boot-imx-f5ecc6e027150289c2a46db7cec197b2b6da893c.tar.bz2 |
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>
Diffstat (limited to 'cpu')
-rw-r--r-- | 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 7626eb8..8568f5d 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); |