Patchwork [1/2] ARM: tegra: fix invalid unit-address in tegra*.dtsi

login
register
mail settings
Submitter Stephen Warren
Date Oct. 2, 2012, 7:10 p.m.
Message ID <1349205048-22228-1-git-send-email-swarren@wwwdotorg.org>
Download mbox | patch
Permalink /patch/188630/
State Accepted, archived
Headers show

Comments

Stephen Warren - Oct. 2, 2012, 7:10 p.m.
From: Stephen Warren <swarren@nvidia.com>

Unit addresses, whilst written in hex, don't contain a 0x prefix.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
A couple of small cleanups/tweaks for 3.7 if possible.

 arch/arm/boot/dts/tegra20-seaboard.dts |    2 +-
 arch/arm/boot/dts/tegra20.dtsi         |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Thierry Reding - Oct. 2, 2012, 8:03 p.m.
On Tue, Oct 02, 2012 at 01:10:47PM -0600, Stephen Warren wrote:
> From: Stephen Warren <swarren@nvidia.com>
> 
> Unit addresses, whilst written in hex, don't contain a 0x prefix.
> 
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> A couple of small cleanups/tweaks for 3.7 if possible.
> 
>  arch/arm/boot/dts/tegra20-seaboard.dts |    2 +-
>  arch/arm/boot/dts/tegra20.dtsi         |    4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)

Both patches,

Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Olof Johansson - Oct. 7, 2012, 2:06 p.m.
On Tue, Oct 02, 2012 at 01:10:47PM -0600, Stephen Warren wrote:
> From: Stephen Warren <swarren@nvidia.com>
> 
> Unit addresses, whilst written in hex, don't contain a 0x prefix.
> 
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> A couple of small cleanups/tweaks for 3.7 if possible.

Applied 1-2 to fixes.


-Olof
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts
index e60dc71..f0ba901 100644
--- a/arch/arm/boot/dts/tegra20-seaboard.dts
+++ b/arch/arm/boot/dts/tegra20-seaboard.dts
@@ -539,7 +539,7 @@ 
 		nvidia,invert-interrupt;
 	};
 
-	memory-controller@0x7000f400 {
+	memory-controller@7000f400 {
 		emc-table@190000 {
 			reg = <190000>;
 			compatible = "nvidia,tegra20-emc-table";
diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi
index 67a6cd9..f3a09d0 100644
--- a/arch/arm/boot/dts/tegra20.dtsi
+++ b/arch/arm/boot/dts/tegra20.dtsi
@@ -170,7 +170,7 @@ 
 		reg = <0x7000e400 0x400>;
 	};
 
-	memory-controller@0x7000f000 {
+	memory-controller@7000f000 {
 		compatible = "nvidia,tegra20-mc";
 		reg = <0x7000f000 0x024
 		       0x7000f03c 0x3c4>;
@@ -183,7 +183,7 @@ 
 		       0x58000000 0x02000000>;	/* GART aperture */
 	};
 
-	memory-controller@0x7000f400 {
+	memory-controller@7000f400 {
 		compatible = "nvidia,tegra20-emc";
 		reg = <0x7000f400 0x200>;
 		#address-cells = <1>;