summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-11-27 10:33:49 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-01-13 09:46:11 +0100
commit7d7c497d592de6b7f8a0478d1f28011f24c13598 (patch)
tree831895ed144a1e52aa1e8c7625aa0de76ede20c3
parenta25feb7a6d2ac3351ee00c59a58a0dcfb9a13c9d (diff)
downloadu-boot-imx-7d7c497d592de6b7f8a0478d1f28011f24c13598.zip
u-boot-imx-7d7c497d592de6b7f8a0478d1f28011f24c13598.tar.gz
u-boot-imx-7d7c497d592de6b7f8a0478d1f28011f24c13598.tar.bz2
ARM: versatile: pass console setting to the kernel
The Versatiles come up with the primary UART set to ttyAMA0 at 38400 baud, and unless we pass this to the kernel it will assume it is set to 9600 baud which will be quite awkward for the terminal, let's try to be helpful and inform the kernel what setting is used. Cc: Stefano Babic <sbabic@denx.de> Cc: Marek Vasut <marex@denx.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--include/configs/versatile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/versatile.h b/include/configs/versatile.h
index 10738ac..29c32fe 100644
--- a/include/configs/versatile.h
+++ b/include/configs/versatile.h
@@ -101,7 +101,8 @@
#define CONFIG_BOOTDELAY 2
#define CONFIG_BOOTARGS "root=/dev/nfs mem=128M ip=dhcp "\
- "netdev=25,0,0xf1010000,0xf1010010,eth0"
+ "netdev=25,0,0xf1010000,0xf1010010,eth0 "\
+ "console=ttyAMA0,38400n1"
/*
* Static configuration when assigning fixed address