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

Anatolij Gustschin agust at denx.de
Fri Nov 7 01:12:03 CET 2014


With fresh environment the kernel gets wrong console
argument and boots without console output. Fix it.

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

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
-- 
1.7.9.5



More information about the U-Boot mailing list