From: Lucas Stach <l.stach@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 2/2] ARM: rdu1: reserve pstore memory region
Date: Fri, 31 May 2019 12:32:18 +0200 [thread overview]
Message-ID: <20190531103218.27675-2-l.stach@pengutronix.de> (raw)
In-Reply-To: <20190531103218.27675-1-l.stach@pengutronix.de>
From: Philipp Zabel <p.zabel@pengutronix.de>
Reserve a 2 MiB memory region (barebox may choose another address)
to serve as a pstore backend.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2019-05-31 10:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-31 10:32 [PATCH 1/2] ARM: imx: rdu1: disable FEC node Lucas Stach
2019-05-31 10:32 ` Lucas Stach [this message]
2019-06-04 8:03 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190531103218.27675-2-l.stach@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox