[U-Boot] [PATCH] arm: rmobile: kzm9g: Fix CONFIG_BAUDRATE setting
Tetsuyuki Kobayshi
koba at kmckk.co.jp
Fri Jul 20 04:16:08 CEST 2012
From: Tetsuyuki Kobayashi <koba at kmckk.co.jp>
The value of CONFIG_BAUDRATE is treated as string and put as initial value of environment variable. If it begin with '(', it is wrongly parsed to 0 in number. So I removed '(' and ')'.
Signed-off-by: Tetsuyuki Kobayashi <koba at kmckk.co.jp>
---
Hi, Iwamatsu-san
This is a kind of regression. The initial value of environment variable of barud rate is wrong. When you flash U-Boot to a new board, serial console doesn't work because board rate is set to 0. If you save environment variables in old version U-Boot, you don't aware this problem.
include/configs/kzm9g.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h
index bd157d9..14f088f 100644
--- a/include/configs/kzm9g.h
+++ b/include/configs/kzm9g.h
@@ -46,7 +46,7 @@
#define CONFIG_CMD_FAT
#define CONFIG_CMD_BOOTZ
-#define CONFIG_BAUDRATE (115200)
+#define CONFIG_BAUDRATE 115200
#define CONFIG_BOOTARGS "root=/dev/null console=ttySC4,115200"
#define CONFIG_INTEGRATOR
#define CONFIG_ARCH_CINTEGRATOR
--
1.7.9.5
More information about the U-Boot
mailing list