mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: imx: rdu1: disable FEC node
@ 2019-05-31 10:32 Lucas Stach
  2019-05-31 10:32 ` [PATCH 2/2] ARM: rdu1: reserve pstore memory region Lucas Stach
  2019-06-04  8:03 ` [PATCH 1/2] ARM: imx: rdu1: disable FEC node Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Lucas Stach @ 2019-05-31 10:32 UTC (permalink / raw)
  To: barebox

Barebox doesn't support the needed DSA setup to make communication
with the FEC work.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/dts/imx51-zii-rdu1.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/imx51-zii-rdu1.dts b/arch/arm/dts/imx51-zii-rdu1.dts
index 01e46baf2d4e..1b5331f48bbc 100644
--- a/arch/arm/dts/imx51-zii-rdu1.dts
+++ b/arch/arm/dts/imx51-zii-rdu1.dts
@@ -91,6 +91,10 @@
 	};
 };
 
+&fec {
+	status = "disabled";
+};
+
 &iomuxc {
 	pinctrl_usbh1: usbh1grp {
 
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] ARM: rdu1: reserve pstore memory region
  2019-05-31 10:32 [PATCH 1/2] ARM: imx: rdu1: disable FEC node Lucas Stach
@ 2019-05-31 10:32 ` Lucas Stach
  2019-06-04  8:03 ` [PATCH 1/2] ARM: imx: rdu1: disable FEC node Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Lucas Stach @ 2019-05-31 10:32 UTC (permalink / raw)
  To: barebox

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] ARM: imx: rdu1: disable FEC node
  2019-05-31 10:32 [PATCH 1/2] ARM: imx: rdu1: disable FEC node Lucas Stach
  2019-05-31 10:32 ` [PATCH 2/2] ARM: rdu1: reserve pstore memory region Lucas Stach
@ 2019-06-04  8:03 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2019-06-04  8:03 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On Fri, May 31, 2019 at 12:32:17PM +0200, Lucas Stach wrote:
> Barebox doesn't support the needed DSA setup to make communication
> with the FEC work.
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
>  arch/arm/dts/imx51-zii-rdu1.dts | 4 ++++
>  1 file changed, 4 insertions(+)
> 

Applied, thanks

Sascha

> diff --git a/arch/arm/dts/imx51-zii-rdu1.dts b/arch/arm/dts/imx51-zii-rdu1.dts
> index 01e46baf2d4e..1b5331f48bbc 100644
> --- a/arch/arm/dts/imx51-zii-rdu1.dts
> +++ b/arch/arm/dts/imx51-zii-rdu1.dts
> @@ -91,6 +91,10 @@
>  	};
>  };
>  
> +&fec {
> +	status = "disabled";
> +};
> +
>  &iomuxc {
>  	pinctrl_usbh1: usbh1grp {
>  
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-04  8:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-31 10:32 [PATCH 1/2] ARM: imx: rdu1: disable FEC node Lucas Stach
2019-05-31 10:32 ` [PATCH 2/2] ARM: rdu1: reserve pstore memory region Lucas Stach
2019-06-04  8:03 ` [PATCH 1/2] ARM: imx: rdu1: disable FEC node Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox