summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@linaro.org>2014-03-28 02:35:32 +0100
committerGrant Likely <grant.likely@linaro.org>2014-06-26 18:12:23 +0200
commit003882180340a2808151d320dedd853f4cff5e4b (patch)
tree24dd5c001ad731120a6bb2e8024d41fe67152137 /arch/arm
parentof: Enable console on serial ports specified by /chosen/stdout-path (diff)
downloadlinux-003882180340a2808151d320dedd853f4cff5e4b.tar.xz
linux-003882180340a2808151d320dedd853f4cff5e4b.zip
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/versatile-ab.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/versatile-ab.dts b/arch/arm/boot/dts/versatile-ab.dts
index e01e5a081def..88e94c5506a1 100644
--- a/arch/arm/boot/dts/versatile-ab.dts
+++ b/arch/arm/boot/dts/versatile-ab.dts
@@ -15,6 +15,10 @@
i2c0 = &i2c0;
};
+ chosen {
+ stdout-path = &uart0;
+ };
+
memory {
reg = <0x0 0x08000000>;
};