[PATCH] arm: kirkwood: Enable uart0 dm-pre-reloc for Kirkwood boards

Tony Dinh mibodhi at gmail.com
Wed Feb 1 02:11:15 CET 2023


When DM_SERIAL is enabled, the device-tree property dm-pre-reloc is
required to boot over UART with kwboot. Enable this in a Kirkwood
common u-boot dtsi.

Signed-off-by: Tony Dinh <mibodhi at gmail.com>
---

 arch/arm/dts/kirkwood-u-boot.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 arch/arm/dts/kirkwood-u-boot.dtsi

diff --git a/arch/arm/dts/kirkwood-u-boot.dtsi b/arch/arm/dts/kirkwood-u-boot.dtsi
new file mode 100644
index 0000000000..f9e127234c
--- /dev/null
+++ b/arch/arm/dts/kirkwood-u-boot.dtsi
@@ -0,0 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2023 Tony Dinh <mibodhi at gmail.com>
+ */
+&uart0 {
+	u-boot,dm-pre-reloc;
+};
-- 
2.30.2



More information about the U-Boot mailing list