Patchwork [U-Boot,v6,31/31] Use 'unsigned int' for global_data's baudrate

mail settings
Submitter Simon Glass
Date March 6, 2013, 12:40 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/225231/
State Accepted, archived
Delegated to: Tom Rini
Headers show


Simon Glass - March 6, 2013, 12:40 a.m.
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

Signed-off-by: Simon Glass <>
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None

 include/asm-generic/global_data.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


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 */