From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 27 Nov 2013 11:03:16 +0100 Subject: [U-Boot] [PATCH 2/2] ARM: versatile: pass console setting to the kernel In-Reply-To: <1385544829-22601-1-git-send-email-linus.walleij@linaro.org> References: <1385544829-22601-1-git-send-email-linus.walleij@linaro.org> Message-ID: <201311271103.16618.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Linus Walleij, > 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 > Cc: Marek Vasut > Signed-off-by: Linus Walleij > --- > include/configs/versatile.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/include/configs/versatile.h b/include/configs/versatile.h > index 10738ac24be0..29c32fee5178 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" We're currently trying to migrate away from having the environment built into the bootloader altogether. On the other hand, I understand this is a bona-fide fix. I would let this one slide. Best regards, Marek Vasut