Skip to contentSkip to conversation

ARM: dts: NSP: Correct RAM amount for BCM958625HR board

PATCH Superseded Jon Mason 2 participants 3 messages Jul 13, 2016 – Jul 14, 2016

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/1 ARM: dts: NSP: Correct RAM amount for BCM958625HR board

The BCM958625HR board has 2GB of RAM available. Increase the amount from 512MB to 2GB and add the device type to the memory entry.

---
 arch/arm/boot/dts/bcm958625hr.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/bcm958625hr.dts +2 -1
index 4239e58..66c658a 100644
@@ -47,7 +47,8 @@
 	};
 
 	memory {
-		reg = <0x60000000 0x20000000>;
+		device_type = "memory";
+		reg = <0x60000000 0x40000000>;
 	};
 };
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 13 lines · Jon Mason

The BCM958625HR board has 2GB of RAM available. Increase the amount from 512MB to 2GB and add the device type to the memory entry.

---
 arch/arm/boot/dts/bcm958625hr.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/bcm958625hr.dts +0 -0
index 4239e58..66c658a 100644

arch/arm/boot/dts/bcm958625hr.dts line 51

Quoted 6 lines
arch/arm/boot/dts/bcm958625hr.dts +2 -1
@@ -47,7 +47,8 @@
 	};
 
 	memory {
-		reg = <0x60000000 0x20000000>;
+		device_type = "memory";
+		reg = <0x60000000 0x40000000>;

That's just one 1GB, did you intend to provide 0x8000_0000 instead here?

Signature · 1 line
Florian
author
#2 lore raw
Quoted 16 lines · Florian Fainelli
Quoted 15 lines · Jon Mason

The BCM958625HR board has 2GB of RAM available. Increase the amount from 512MB to 2GB and add the device type to the memory entry.

---
 arch/arm/boot/dts/bcm958625hr.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/bcm958625hr.dts +0 -0
index 4239e58..66c658a 100644
@@ -47,7 +47,8 @@
      };
 
Quoted 6 lines

arch/arm/boot/dts/bcm958625hr.dts line 51

Quoted 4 lines
arch/arm/boot/dts/bcm958625hr.dts +2 -1
      memory {
-             reg = <0x60000000 0x20000000>;
+             device_type = "memory";
+             reg = <0x60000000 0x40000000>;

That's just one 1GB, did you intend to provide 0x8000_0000 instead here?

Good catch! I'll fix that up in v2 (and add a "Fixes:" referencing the original patch).

Thanks,
Jon

Quoted 2 lines

--
Florian