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 <mibo...@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 <mibo...@gmail.com>
+ */
+&uart0 {
+       u-boot,dm-pre-reloc;
+};
-- 
2.30.2

Reply via email to