Browse Source

arm/versatile: Add the uart as the stdout device.

Add a stdout-path property to the Versatile devicetree so that automatic
console selection works without needing a console= line on the kernel
command line.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Grant Likely 11 năm trước cách đây
mục cha
commit
0038821803
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      arch/arm/boot/dts/versatile-ab.dts

+ 4 - 0
arch/arm/boot/dts/versatile-ab.dts

@@ -15,6 +15,10 @@
 		i2c0 = &i2c0;
 	};
 
+	chosen {
+		stdout-path = &uart0;
+	};
+
 	memory {
 		reg = <0x0 0x08000000>;
 	};