projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68794b9
)
Use 'unsigned int' for global_data's baudrate
author
Simon Glass
<sjg@chromium.org>
Tue, 5 Mar 2013 14:40:05 +0000
(14:40 +0000)
committer
Tom Rini
<trini@ti.com>
Fri, 15 Mar 2013 20:14:02 +0000
(16:14 -0400)
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>
include/asm-generic/global_data.h
patch
|
blob
|
history
diff --git
a/include/asm-generic/global_data.h
b/include/asm-generic/global_data.h
index ebfe2a324c4c55cdc44eba8a73a19dbc8342baa4..5416f468b06c6bb4becd6a1fc1f926df2280bd08 100644
(file)
--- 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 */