]> git.dujemihanovic.xyz Git - u-boot.git/commit
fsl_law: Fix bug in calculation of LAW sizing
authorKumar Gala <galak@kernel.crashing.org>
Sat, 4 Apr 2009 15:21:02 +0000 (10:21 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Sat, 4 Apr 2009 15:21:40 +0000 (10:21 -0500)
commite6a6789f41f0560ce280089fbd3f1bd0f0f64306
tree9bc1b9ed8faad0eaf517a1b517bf3407aaed2fd5
parent32049b4048ff8e59bd5ba6160d6d5206d283b2a2
fsl_law: Fix bug in calculation of LAW sizing

In set_ddr_laws() when we determined how much of the size requested
to be mapped was covered by the the first LAW we needed to recalculate
the size based on what was actually mapped.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/misc/fsl_law.c