summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-06-11 00:51:45 -0500
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-06-11 01:52:23 -0500
commit859a86a25c569d3665ff413d1d923394b8a961f3 (patch)
tree7fc7cbcb430ab3b7817f2a7817f3bbf2ea34abe8 /cpu/mpc85xx
parentf060054dadbbe7027ca088eed806a3ef1f82fdb7 (diff)
downloadu-boot-imx-859a86a25c569d3665ff413d1d923394b8a961f3.zip
u-boot-imx-859a86a25c569d3665ff413d1d923394b8a961f3.tar.gz
u-boot-imx-859a86a25c569d3665ff413d1d923394b8a961f3.tar.bz2
85xx/86xx: Move to dynamic mgmt of LAWs
With the new LAW interface (set_next_law) we can move to letting the system allocate which LAWs are used for what purpose. This makes life a bit easier going forward with the new DDR code. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Andy Fleming <afleming@freescale.com> Acked-by: Jon Loeliger <jdl@freescale.com> Acked-by: Becky Bruce <becky.bruce@freescale.com>
Diffstat (limited to 'cpu/mpc85xx')
-rw-r--r--cpu/mpc85xx/spd_sdram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc85xx/spd_sdram.c b/cpu/mpc85xx/spd_sdram.c
index e3a8249..8e321eb 100644
--- a/cpu/mpc85xx/spd_sdram.c
+++ b/cpu/mpc85xx/spd_sdram.c
@@ -1090,7 +1090,7 @@ setup_laws_and_tlbs(unsigned int memsize)
*/
#ifdef CONFIG_FSL_LAW
- set_law(1, CFG_DDR_SDRAM_BASE, law_size, LAW_TRGT_IF_DDR);
+ set_next_law(CFG_DDR_SDRAM_BASE, law_size, LAW_TRGT_IF_DDR);
#endif
/*