[PATCH 1/3] ARM: vexpress: set stdout path
Lucas Stach
dev at lynxeye.de
Sun Aug 16 17:42:40 EDT 2020
This ensures that the correct console gets activated independent
of the device probe order.
Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
arch/arm/dts/vexpress-v2p-ca15.dts | 4 ++++
arch/arm/dts/vexpress-v2p-ca9.dts | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/arch/arm/dts/vexpress-v2p-ca15.dts b/arch/arm/dts/vexpress-v2p-ca15.dts
index 69e93ee7b2b3..78d002590924 100644
--- a/arch/arm/dts/vexpress-v2p-ca15.dts
+++ b/arch/arm/dts/vexpress-v2p-ca15.dts
@@ -5,6 +5,10 @@
compatible = "barebox,environment";
device-path = &barebox_env;
};
+
+ chosen {
+ stdout-path = &v2m_serial0;
+ };
};
&nor_flash {
diff --git a/arch/arm/dts/vexpress-v2p-ca9.dts b/arch/arm/dts/vexpress-v2p-ca9.dts
index cb4afef185b6..8be04b174bed 100644
--- a/arch/arm/dts/vexpress-v2p-ca9.dts
+++ b/arch/arm/dts/vexpress-v2p-ca9.dts
@@ -10,6 +10,10 @@
state = &state;
};
+ chosen {
+ stdout-path = &v2m_serial0;
+ };
+
/* State: mutable part */
state: state {
magic = <0x4d433230>;
--
2.26.2
More information about the barebox
mailing list