Patchwork [U-Boot,2/2] am335x: Drop board_sysinfo struct

login
register
mail settings
Submitter Tom Rini
Date Oct. 21, 2011, 10:23 p.m.
Message ID <1319235787-435-3-git-send-email-trini@ti.com>
Download mbox | patch
Permalink /patch/121072/
State Accepted
Commit 35b541c835346876dca56ee9bd2b6fd447bf7783
Delegated to: Albert ARIBAUD
Headers show

Comments

Tom Rini - Oct. 21, 2011, 10:23 p.m.
This isn't used presumably should be a typedef if needed later.

Signed-off-by: Tom Rini <trini@ti.com>
---
 arch/arm/include/asm/arch-am33xx/sys_proto.h |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
Albert ARIBAUD - Oct. 21, 2011, 11:10 p.m.
Hi Tom,

Le 22/10/2011 00:23, Tom Rini a écrit :
> This isn't used presumably should be a typedef if needed later.

Note: IIUC, typedefs are frowned upon in U-Boot.

Amicalement,

Patch

diff --git a/arch/arm/include/asm/arch-am33xx/sys_proto.h b/arch/arm/include/asm/arch-am33xx/sys_proto.h
index 1e265c6..09ed650 100644
--- a/arch/arm/include/asm/arch-am33xx/sys_proto.h
+++ b/arch/arm/include/asm/arch-am33xx/sys_proto.h
@@ -20,13 +20,6 @@ 
 #define _SYS_PROTO_H_
 
 #define BOARD_REV_ID	0x0
-struct {
-	u32 board_type_v1;
-	u32 board_type_v2;
-	u32 mtype;
-	char *board_string;
-	char *nand_string;
-} board_sysinfo;
 
 u32 get_cpu_rev(void);
 u32 get_sysboot_value(void);