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]>
Signed-off-by: Lucas Stach <[email protected]>
---
 arch/arm/dts/imx6qdl-zii-rdu2.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm/dts/imx6qdl-zii-rdu2.dtsi 
b/arch/arm/dts/imx6qdl-zii-rdu2.dtsi
index bfc75ba606d6..5d141fcb3450 100644
--- a/arch/arm/dts/imx6qdl-zii-rdu2.dtsi
+++ b/arch/arm/dts/imx6qdl-zii-rdu2.dtsi
@@ -65,6 +65,23 @@
                switch-eeprom = &switch;
        };
 
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               /* Address will be determined by the bootloader */
+               ramoops@2fe00000 {
+                       compatible = "ramoops";
+                       reg = <0x2fe00000 0x200000>;
+                       ecc-size = <16>;
+                       record-size = <0x20000>;
+                       console-size = <0x20000>;
+                       ftrace-size = <0x20000>;
+                       pmsg-size = <0x20000>;
+               };
+       };
+
        panel {
                compatible = "simple-panel";
                /* Timings for all supported panels, the correct one is enabled
-- 
2.20.1


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

Reply via email to