From: Philipp Zabel <[email protected]>

Reserve a 2 MiB memory region (barebox may choose another address)
to serve as a pstore backend.

Signed-off-by: Philipp Zabel <[email protected]>
---
 arch/arm/dts/imx51-zii-rdu1.dts | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm/dts/imx51-zii-rdu1.dts b/arch/arm/dts/imx51-zii-rdu1.dts
index 1b5331f48bbc..a4f6654e3f69 100644
--- a/arch/arm/dts/imx51-zii-rdu1.dts
+++ b/arch/arm/dts/imx51-zii-rdu1.dts
@@ -25,6 +25,23 @@
                };
        };
 
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               /* Address will be determined by the bootloader */
+               ramoops@afe00000 {
+                       compatible = "ramoops";
+                       reg = <0xafe00000 0x200000>;
+                       ecc-size = <16>;
+                       record-size = <0x20000>;
+                       console-size = <0x20000>;
+                       ftrace-size = <0x20000>;
+                       pmsg-size = <0x20000>;
+               };
+       };
+
        aliases {
                /*
                 * NVMEM device corresponding to EEPROM attached to
-- 
2.20.1


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

Reply via email to