浏览代码

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 年之前
父节点
当前提交
0038821803
共有 1 个文件被更改,包括 4 次插入0 次删除
  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>;
 	};