summaryrefslogtreecommitdiff
path: root/include/asm-generic/global_data.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-03-05 14:40:05 +0000
committerTom Rini <trini@ti.com>2013-03-15 16:14:02 -0400
commitb5bec88434adb52413f1bc33fa63d7642cb8fd35 (patch)
treef03fe8b1c29142ddf699d3261ce4eec2ec274b9a /include/asm-generic/global_data.h
parent68794b9f73b8d4aef3ee968c567229ef4eab1f3f (diff)
downloadu-boot-imx-b5bec88434adb52413f1bc33fa63d7642cb8fd35.zip
u-boot-imx-b5bec88434adb52413f1bc33fa63d7642cb8fd35.tar.gz
u-boot-imx-b5bec88434adb52413f1bc33fa63d7642cb8fd35.tar.bz2
Use 'unsigned int' for global_data's baudrate
We decided to used unsigned int here, rather than unsigned long. But for the generic global_data it is still unsigned long. So change it over. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/asm-generic/global_data.h')
-rw-r--r--include/asm-generic/global_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index ebfe2a3..5416f46 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -40,7 +40,7 @@
typedef struct global_data {
bd_t *bd;
unsigned long flags;
- unsigned long baudrate;
+ unsigned int baudrate;
unsigned long cpu_clk; /* CPU clock in Hz! */
unsigned long bus_clk;
/* We cannot bracket this with CONFIG_PCI due to mpc5xxx */