]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/glsdk-u-boot.git/commitdiff
Use 'unsigned int' for global_data's baudrate
authorSimon Glass <sjg@chromium.org>
Tue, 5 Mar 2013 14:40:05 +0000 (14:40 +0000)
committerTom 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

index ebfe2a324c4c55cdc44eba8a73a19dbc8342baa4..5416f468b06c6bb4becd6a1fc1f926df2280bd08 100644 (file)
@@ -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 */