diff mbox

[U-Boot] socfpga_cyclone5.h: fix kernel console argument in default environment

Message ID 1415319123-11280-1-git-send-email-agust@denx.de
State Accepted
Delegated to: Marek Vasut
Headers show

Commit Message

Anatolij Gustschin Nov. 7, 2014, 12:12 a.m. UTC
With fresh environment the kernel gets wrong console
argument and boots without console output. Fix it.

Reported-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Marek Vasut <marex@denx.de>
---
 include/configs/socfpga_cyclone5.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Marek Vasut Nov. 7, 2014, 7:24 a.m. UTC | #1
On Friday, November 07, 2014 at 01:12:03 AM, Anatolij Gustschin wrote:
> With fresh environment the kernel gets wrong console
> argument and boots without console output. Fix it.
> 
> Reported-by: Dinh Nguyen <dinguyen@opensource.altera.com>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> Cc: Chin Liang See <clsee@altera.com>
> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
> Cc: Marek Vasut <marex@denx.de>
> ---

Applied, thanks!

Best regards,
Marek Vasut
diff mbox

Patch

diff --git a/include/configs/socfpga_cyclone5.h b/include/configs/socfpga_cyclone5.h
index 942738c..c3d958c 100644
--- a/include/configs/socfpga_cyclone5.h
+++ b/include/configs/socfpga_cyclone5.h
@@ -42,7 +42,7 @@ 
 /* Booting Linux */
 #define CONFIG_BOOTDELAY	3
 #define CONFIG_BOOTFILE		"zImage"
-#define CONFIG_BOOTARGS		"console=ttyS0" __stringify(CONFIG_BAUDRATE)
+#define CONFIG_BOOTARGS		"console=ttyS0," __stringify(CONFIG_BAUDRATE)
 #ifdef CONFIG_SOCFPGA_VIRTUAL_TARGET
 #define CONFIG_BOOTCOMMAND	"run ramboot"
 #else