[PATCH v1 6/8] ARM: imx6sx: udoo-neo: enable memory size auto detection

Oleksij Rempel o.rempel at pengutronix.de
Fri Jan 13 03:34:05 PST 2023


Not all udoo-neo board have same memory size. So, remove memory node
to allow memory size auto detection.

Potentially we can use different DTs for different board in the barebox.
But we are able to auto detect board version, better we keep udoo-neo-full
as the basis version and disable not supported parts by the board code
if needed.

Signed-off-by: Oleksij Rempel <o.rempel at pengutronix.de>
---
 arch/arm/dts/imx6sx-udoo-neo-full.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/dts/imx6sx-udoo-neo-full.dts b/arch/arm/dts/imx6sx-udoo-neo-full.dts
index 2e5e1a9ed4..be023b4289 100644
--- a/arch/arm/dts/imx6sx-udoo-neo-full.dts
+++ b/arch/arm/dts/imx6sx-udoo-neo-full.dts
@@ -1,6 +1,9 @@
 #include <arm/imx6sx-udoo-neo-full.dts>
 
 / {
+
+	/delete-node/ memory at 80000000;
+
 	chosen {
 		environment {
 			compatible = "barebox,environment";
-- 
2.30.2




More information about the barebox mailing list