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

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(-)
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

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
participants (2)
-
Anatolij Gustschin
-
Marek Vasut