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>
This commit is contained in:
parent
68794b9f73
commit
b5bec88434
|
@ -40,7 +40,7 @@
|
||||||
typedef struct global_data {
|
typedef struct global_data {
|
||||||
bd_t *bd;
|
bd_t *bd;
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
unsigned long baudrate;
|
unsigned int baudrate;
|
||||||
unsigned long cpu_clk; /* CPU clock in Hz! */
|
unsigned long cpu_clk; /* CPU clock in Hz! */
|
||||||
unsigned long bus_clk;
|
unsigned long bus_clk;
|
||||||
/* We cannot bracket this with CONFIG_PCI due to mpc5xxx */
|
/* We cannot bracket this with CONFIG_PCI due to mpc5xxx */
|
||||||
|
|
Loading…
Reference in New Issue