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 years ago
parent
commit
0038821803
1 changed files with 4 additions and 0 deletions
  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>;
 	};