Skip to contentSkip to conversation

ARM: i.MX53: ccxmx53: Fix memory detection.

PATCH Applied Jason Cobham 2 participants 2 messages Apr 20, 2016 – Apr 21, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: i.MX53: ccxmx53: Fix memory detection.

This patch fixes memory detection on the Digi ccxmx53 board. Also updates dts to support nand.
Cleaned up whitespace?

---
 .../ccxmx53/flash-header-imx53-ccxmx53_1gib.imxcfg |  2 +-
 arch/arm/boards/ccxmx53/lowlevel.c                 | 43 +++++++++++++---------
 arch/arm/dts/imx53-ccxmx53.dts                     |  1 +
 arch/arm/dts/imx53-ccxmx53.dtsi                    |  5 ++-
 4 files changed, 30 insertions(+), 21 deletions(-)
arch/arm/boards/ccxmx53/flash-header-imx53-ccxmx53_1gib.imxcfg +1 -1
index 6f1cab6..68d947c 100644
@@ -31,7 +31,7 @@ wm 32 0x63fd90f8 0x00000800
 wm 32 0x63fd907c 0x020c0211
 wm 32 0x63fd9080 0x014c0155
 wm 32 0x63fd9018 0x000016d0
-wm 32 0x63fd9000 0xc4110000
+wm 32 0x63fd9000 0xc3110000
 wm 32 0x63fd900c 0x4d5122d2
 wm 32 0x63fd9010 0x92d18a22
 wm 32 0x63fd9014 0x00c70092
arch/arm/boards/ccxmx53/lowlevel.c +25 -18

60 lines not on this page · raw message

arch/arm/dts/imx53-ccxmx53.dts +1 -0
index 85d20c3..4b5ec65 100644
@@ -12,6 +12,7 @@
 
 /dts-v1/;
 #include "imx53-ccxmx53.dtsi"
+#include "imx53.dtsi"
 
 / {
 	model = "Digi ConnectCore ccxmx53";
arch/arm/dts/imx53-ccxmx53.dtsi +3 -2
index 5553c68..e4b4e54 100644
@@ -27,7 +27,7 @@
 
 / {
 	memory {
-		reg = <0x70000000 0x40000000>;
+		reg = <0x0 0x0>;
 	};
 
 };
@@ -228,6 +228,7 @@
 	pinctrl-0 = <&pinctrl_nand>;
 	nand-bus-width = <8>;
 	nand-ecc-mode = "hw";
+	nand-on-flash-bbt;
 	status = "okay";
 
 	partition@0 {
@@ -247,7 +248,7 @@
 
 	partition@3 {
 		label = "rootfs";
-		reg = <0x500000 0x07B00000>;
+		reg = <0x500000 0x0>;
 	};
 };
 
Signature · 7 lines
1.9.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
maintainer Applied
#1 lore raw
Quoted 5 lines · Jason Cobham

This patch fixes memory detection on the Digi ccxmx53 board. Also updates dts to support nand.
Cleaned up whitespace?

Applied, thanks

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox