aboutsummaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorSimon Glass2012-10-12 14:21:21 +0000
committerTom Rini2012-10-19 15:25:46 -0700
commiteeaec258b751075d48e081d645516dab3240ab96 (patch)
tree7d7218520372399d4ab2775f48bd1c20fd896dc4 /arch/sandbox
parent55f97c1bfb3eb71e623576179fc0b995d0fd18ad (diff)
sandbox: Change global data baudrate to int
This doesn't need to be a long, so change it. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/include/asm/global_data.h2
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 581fd2f2a04..78a751d96f7 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? */