Patchwork powerpc: L2 cache size wrong in 8572DS dts

login
register
mail settings
Submitter Trent Piepho
Date Nov. 19, 2008, 6:40 p.m.
Message ID <1227120055-6459-1-git-send-email-tpiepho@freescale.com>
Download mbox | patch
Permalink /patch/9622/
State Accepted, archived
Commit f464ff581c247d82fcc0e7ef40c1ca6df9739068
Headers show

Comments

Trent Piepho - Nov. 19, 2008, 6:40 p.m.
It's 1MB, not 512KB.  Newer U-Boots will fix this entry, but that's no
reason to have the wrong value in the dts.

Signed-off-by: Trent Piepho <tpiepho@freescale.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
---
 arch/powerpc/boot/dts/mpc8572ds.dts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Kumar Gala - Nov. 19, 2008, 8:52 p.m.
On Nov 19, 2008, at 12:40 PM, Trent Piepho wrote:

> It's 1MB, not 512KB.  Newer U-Boots will fix this entry, but that's no
> reason to have the wrong value in the dts.
>
> Signed-off-by: Trent Piepho <tpiepho@freescale.com>
> Acked-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> arch/powerpc/boot/dts/mpc8572ds.dts |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

applied to merge

- k

Patch

diff --git a/arch/powerpc/boot/dts/mpc8572ds.dts b/arch/powerpc/boot/dts/mpc8572ds.dts
index cadd465..5c69b2f 100644
--- a/arch/powerpc/boot/dts/mpc8572ds.dts
+++ b/arch/powerpc/boot/dts/mpc8572ds.dts
@@ -90,7 +90,7 @@ 
 			compatible = "fsl,mpc8572-l2-cache-controller";
 			reg = <0x20000 0x1000>;
 			cache-line-size = <32>;	// 32 bytes
-			cache-size = <0x80000>;	// L2, 512K
+			cache-size = <0x100000>; // L2, 1M
 			interrupt-parent = <&mpic>;
 			interrupts = <16 2>;
 		};