Re: [PATCH 2/3] powerpc/fsl: 85xx: p2020rdb: add cache sram node

2010-05-17 Thread Kumar Gala

On Dec 8, 2009, at 1:31 AM, Vivek Mahajan wrote:

> Signed-off-by: Vivek Mahajan 
> ---
> arch/powerpc/boot/dts/p2020rdb.dts |6 ++
> 1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/powerpc/boot/dts/p2020rdb.dts 
> b/arch/powerpc/boot/dts/p2020rdb.dts
> index da4cb0d..8a26050 100644
> --- a/arch/powerpc/boot/dts/p2020rdb.dts
> +++ b/arch/powerpc/boot/dts/p2020rdb.dts
> @@ -583,4 +583,10 @@
> 0x0 0x10>;
>   };
>   };
> +
> + cache-s...@fff0 {
> + fsl,cache-sram-ctlr-handle = <&L2>;
> + reg = <0 0xfff0 0 0x1>;
> + compatible = "fsl,p2020-cache-sram";
> + };
> };
> -- 
> 1.5.6.5

Sorry, we've let this sit too long:

This should be created by u-boot instead of static in the .dts.  The assumption 
should be the cache/SRAM is already setup this way via u-boot and its just 
conveying the HW config to the kernel.

In the future we should have the kernel dynamically allocate a physical address 
region for the SRAM (if its not already setup by u-boot).

- k
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[PATCH 2/3] powerpc/fsl: 85xx: p2020rdb: add cache sram node

2009-12-07 Thread Vivek Mahajan
Signed-off-by: Vivek Mahajan 
---
 arch/powerpc/boot/dts/p2020rdb.dts |6 ++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/boot/dts/p2020rdb.dts 
b/arch/powerpc/boot/dts/p2020rdb.dts
index da4cb0d..8a26050 100644
--- a/arch/powerpc/boot/dts/p2020rdb.dts
+++ b/arch/powerpc/boot/dts/p2020rdb.dts
@@ -583,4 +583,10 @@
  0x0 0x10>;
};
};
+
+   cache-s...@fff0 {
+   fsl,cache-sram-ctlr-handle = <&L2>;
+   reg = <0 0xfff0 0 0x1>;
+   compatible = "fsl,p2020-cache-sram";
+   };
 };
-- 
1.5.6.5

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev