[U-Boot] [PATCH 14/14] sandbox: Change global data baudrate to int

Simon Glass sjg at chromium.org
Sat Oct 13 02:21:21 CEST 2012


This doesn't need to be a long, so change it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---
 arch/sandbox/include/asm/global_data.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/sandbox/include/asm/global_data.h b/arch/sandbox/include/asm/global_data.h
index 581fd2f..78a751d 100644
--- a/arch/sandbox/include/asm/global_data.h
+++ b/arch/sandbox/include/asm/global_data.h
@@ -36,7 +36,7 @@
 typedef	struct global_data {
 	bd_t		*bd;
 	unsigned long	flags;
-	unsigned long	baudrate;
+	unsigned int	baudrate;
 	unsigned long	have_console;	/* serial_init() was called */
 	unsigned long	env_addr;	/* Address  of Environment struct */
 	unsigned long	env_valid;	/* Checksum of Environment valid? */
-- 
1.7.7.3



More information about the U-Boot mailing list