linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [POWERPC] Fix L1 cache size in katmai DTS
@ 2008-02-21 15:21 Stefan Roese
  2008-02-22  6:24 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Roese @ 2008-02-21 15:21 UTC (permalink / raw)
  To: linuxppc-dev

This patch changes the katmai (440SPe) L1 cache size to 32k. Some
whitespace issues are cleaned up too.

Signed-off-by: Stefan Roese <sr@denx.de>
---
 arch/powerpc/boot/dts/katmai.dts |   58 +++++++++++++++++++-------------------
 1 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/arch/powerpc/boot/dts/katmai.dts b/arch/powerpc/boot/dts/katmai.dts
index 9bdfc0f..abf7f3e 100644
--- a/arch/powerpc/boot/dts/katmai.dts
+++ b/arch/powerpc/boot/dts/katmai.dts
@@ -38,8 +38,8 @@
 			timebase-frequency = <0>; /* Filled in by zImage */
 			i-cache-line-size = <20>;
 			d-cache-line-size = <20>;
-			i-cache-size = <20000>;
-			d-cache-size = <20000>;
+			i-cache-size = <8000>;
+			d-cache-size = <8000>;
 			dcr-controller;
 			dcr-access-method = "native";
 		};
@@ -136,11 +136,11 @@
 		};
 
 		POB0: opb {
-		  	compatible = "ibm,opb-440spe", "ibm,opb-440gp", "ibm,opb";
+			compatible = "ibm,opb-440spe", "ibm,opb-440gp", "ibm,opb";
 			#address-cells = <1>;
 			#size-cells = <1>;
-		  	ranges = <00000000 4 e0000000 20000000>;
-		  	clock-frequency = <0>; /* Filled in by zImage */
+			ranges = <00000000 4 e0000000 20000000>;
+			clock-frequency = <0>; /* Filled in by zImage */
 
 			EBC0: ebc {
 				compatible = "ibm,ebc-440spe", "ibm,ebc-440gp", "ibm,ebc";
@@ -153,38 +153,38 @@
 			};
 
 			UART0: serial@10000200 {
-		   		device_type = "serial";
-		   		compatible = "ns16550";
-		   		reg = <10000200 8>;
+				device_type = "serial";
+				compatible = "ns16550";
+				reg = <10000200 8>;
 				virtual-reg = <a0000200>;
-		   		clock-frequency = <0>; /* Filled in by zImage */
-		   		current-speed = <1c200>;
-		   		interrupt-parent = <&UIC0>;
-		   		interrupts = <0 4>;
-	   		};
+				clock-frequency = <0>; /* Filled in by zImage */
+				current-speed = <1c200>;
+				interrupt-parent = <&UIC0>;
+				interrupts = <0 4>;
+			};
 
 			UART1: serial@10000300 {
-		   		device_type = "serial";
-		   		compatible = "ns16550";
-		   		reg = <10000300 8>;
+				device_type = "serial";
+				compatible = "ns16550";
+				reg = <10000300 8>;
 				virtual-reg = <a0000300>;
-		   		clock-frequency = <0>;
-		   		current-speed = <0>;
-		   		interrupt-parent = <&UIC0>;
-		   		interrupts = <1 4>;
-	   		};
+				clock-frequency = <0>;
+				current-speed = <0>;
+				interrupt-parent = <&UIC0>;
+				interrupts = <1 4>;
+			};
 
 
 			UART2: serial@10000600 {
-		   		device_type = "serial";
-		   		compatible = "ns16550";
-		   		reg = <10000600 8>;
+				device_type = "serial";
+				compatible = "ns16550";
+				reg = <10000600 8>;
 				virtual-reg = <a0000600>;
-		   		clock-frequency = <0>;
-		   		current-speed = <0>;
-		   		interrupt-parent = <&UIC1>;
-		   		interrupts = <5 4>;
-	   		};
+				clock-frequency = <0>;
+				current-speed = <0>;
+				interrupt-parent = <&UIC1>;
+				interrupts = <5 4>;
+			};
 
 			IIC0: i2c@10000400 {
 				device_type = "i2c";
-- 
1.5.4.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] [POWERPC] Fix L1 cache size in katmai DTS
  2008-02-21 15:21 [PATCH] [POWERPC] Fix L1 cache size in katmai DTS Stefan Roese
@ 2008-02-22  6:24 ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2008-02-22  6:24 UTC (permalink / raw)
  To: Stefan Roese; +Cc: linuxppc-dev


On Thu, 2008-02-21 at 16:21 +0100, Stefan Roese wrote:
> This patch changes the katmai (440SPe) L1 cache size to 32k. Some
> whitespace issues are cleaned up too.
> 
> Signed-off-by: Stefan Roese <sr@denx.de>

Ack.

> ---
>  arch/powerpc/boot/dts/katmai.dts |   58 +++++++++++++++++++-------------------
>  1 files changed, 29 insertions(+), 29 deletions(-)
> 
> diff --git a/arch/powerpc/boot/dts/katmai.dts b/arch/powerpc/boot/dts/katmai.dts
> index 9bdfc0f..abf7f3e 100644
> --- a/arch/powerpc/boot/dts/katmai.dts
> +++ b/arch/powerpc/boot/dts/katmai.dts
> @@ -38,8 +38,8 @@
>  			timebase-frequency = <0>; /* Filled in by zImage */
>  			i-cache-line-size = <20>;
>  			d-cache-line-size = <20>;
> -			i-cache-size = <20000>;
> -			d-cache-size = <20000>;
> +			i-cache-size = <8000>;
> +			d-cache-size = <8000>;
>  			dcr-controller;
>  			dcr-access-method = "native";
>  		};
> @@ -136,11 +136,11 @@
>  		};
>  
>  		POB0: opb {
> -		  	compatible = "ibm,opb-440spe", "ibm,opb-440gp", "ibm,opb";
> +			compatible = "ibm,opb-440spe", "ibm,opb-440gp", "ibm,opb";
>  			#address-cells = <1>;
>  			#size-cells = <1>;
> -		  	ranges = <00000000 4 e0000000 20000000>;
> -		  	clock-frequency = <0>; /* Filled in by zImage */
> +			ranges = <00000000 4 e0000000 20000000>;
> +			clock-frequency = <0>; /* Filled in by zImage */
>  
>  			EBC0: ebc {
>  				compatible = "ibm,ebc-440spe", "ibm,ebc-440gp", "ibm,ebc";
> @@ -153,38 +153,38 @@
>  			};
>  
>  			UART0: serial@10000200 {
> -		   		device_type = "serial";
> -		   		compatible = "ns16550";
> -		   		reg = <10000200 8>;
> +				device_type = "serial";
> +				compatible = "ns16550";
> +				reg = <10000200 8>;
>  				virtual-reg = <a0000200>;
> -		   		clock-frequency = <0>; /* Filled in by zImage */
> -		   		current-speed = <1c200>;
> -		   		interrupt-parent = <&UIC0>;
> -		   		interrupts = <0 4>;
> -	   		};
> +				clock-frequency = <0>; /* Filled in by zImage */
> +				current-speed = <1c200>;
> +				interrupt-parent = <&UIC0>;
> +				interrupts = <0 4>;
> +			};
>  
>  			UART1: serial@10000300 {
> -		   		device_type = "serial";
> -		   		compatible = "ns16550";
> -		   		reg = <10000300 8>;
> +				device_type = "serial";
> +				compatible = "ns16550";
> +				reg = <10000300 8>;
>  				virtual-reg = <a0000300>;
> -		   		clock-frequency = <0>;
> -		   		current-speed = <0>;
> -		   		interrupt-parent = <&UIC0>;
> -		   		interrupts = <1 4>;
> -	   		};
> +				clock-frequency = <0>;
> +				current-speed = <0>;
> +				interrupt-parent = <&UIC0>;
> +				interrupts = <1 4>;
> +			};
>  
> 
>  			UART2: serial@10000600 {
> -		   		device_type = "serial";
> -		   		compatible = "ns16550";
> -		   		reg = <10000600 8>;
> +				device_type = "serial";
> +				compatible = "ns16550";
> +				reg = <10000600 8>;
>  				virtual-reg = <a0000600>;
> -		   		clock-frequency = <0>;
> -		   		current-speed = <0>;
> -		   		interrupt-parent = <&UIC1>;
> -		   		interrupts = <5 4>;
> -	   		};
> +				clock-frequency = <0>;
> +				current-speed = <0>;
> +				interrupt-parent = <&UIC1>;
> +				interrupts = <5 4>;
> +			};
>  
>  			IIC0: i2c@10000400 {
>  				device_type = "i2c";

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-22  6:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-21 15:21 [PATCH] [POWERPC] Fix L1 cache size in katmai DTS Stefan Roese
2008-02-22  6:24 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).