public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] am335x: Minor fixes
@ 2011-10-21 22:23 Tom Rini
  2011-10-21 22:23 ` [U-Boot] [PATCH 1/2] am335x: Temporarily add MACH_TYPE define Tom Rini
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Tom Rini @ 2011-10-21 22:23 UTC (permalink / raw)
  To: u-boot

Hey all,

As part of bringing over SPL support (which I'll post as soon
as I can figure out why this code doesn't run for me), I ran into
the following two fixes being needed.

-- 
Tom

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH 1/2] am335x: Temporarily add MACH_TYPE define
  2011-10-21 22:23 [U-Boot] [PATCH 0/2] am335x: Minor fixes Tom Rini
@ 2011-10-21 22:23 ` Tom Rini
  2011-10-21 22:23 ` [U-Boot] [PATCH 2/2] am335x: Drop board_sysinfo struct Tom Rini
  2011-10-28 17:26 ` [U-Boot] [PATCH 0/2] am335x: Minor fixes Albert ARIBAUD
  2 siblings, 0 replies; 5+ messages in thread
From: Tom Rini @ 2011-10-21 22:23 UTC (permalink / raw)
  To: u-boot

This is registered and can be removed at the next sync up.

Signed-off-by: Tom Rini <trini@ti.com>
---
 include/configs/am335x_evm.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index b471c9b..26a3c96 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -32,6 +32,7 @@
 #define CONFIG_SYS_MALLOC_LEN		(CONFIG_ENV_SIZE + (8 * 1024))
 #define CONFIG_SYS_PROMPT		"AM335X# "
 #define CONFIG_SYS_NO_FLASH
+#define MACH_TYPE_TIAM335EVM		3589	/* Until the next sync */
 #define CONFIG_MACH_TYPE		MACH_TYPE_TIAM335EVM
 
 #define CONFIG_CMD_ASKENV
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH 2/2] am335x: Drop board_sysinfo struct
  2011-10-21 22:23 [U-Boot] [PATCH 0/2] am335x: Minor fixes Tom Rini
  2011-10-21 22:23 ` [U-Boot] [PATCH 1/2] am335x: Temporarily add MACH_TYPE define Tom Rini
@ 2011-10-21 22:23 ` Tom Rini
  2011-10-21 23:10   ` Albert ARIBAUD
  2011-10-28 17:26 ` [U-Boot] [PATCH 0/2] am335x: Minor fixes Albert ARIBAUD
  2 siblings, 1 reply; 5+ messages in thread
From: Tom Rini @ 2011-10-21 22:23 UTC (permalink / raw)
  To: u-boot

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(-)

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);
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH 2/2] am335x: Drop board_sysinfo struct
  2011-10-21 22:23 ` [U-Boot] [PATCH 2/2] am335x: Drop board_sysinfo struct Tom Rini
@ 2011-10-21 23:10   ` Albert ARIBAUD
  0 siblings, 0 replies; 5+ messages in thread
From: Albert ARIBAUD @ 2011-10-21 23:10 UTC (permalink / raw)
  To: u-boot

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,
-- 
Albert.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH 0/2] am335x: Minor fixes
  2011-10-21 22:23 [U-Boot] [PATCH 0/2] am335x: Minor fixes Tom Rini
  2011-10-21 22:23 ` [U-Boot] [PATCH 1/2] am335x: Temporarily add MACH_TYPE define Tom Rini
  2011-10-21 22:23 ` [U-Boot] [PATCH 2/2] am335x: Drop board_sysinfo struct Tom Rini
@ 2011-10-28 17:26 ` Albert ARIBAUD
  2 siblings, 0 replies; 5+ messages in thread
From: Albert ARIBAUD @ 2011-10-28 17:26 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Le 22/10/2011 00:23, Tom Rini a ?crit :
> Hey all,
>
> As part of bringing over SPL support (which I'll post as soon
> as I can figure out why this code doesn't run for me), I ran into
> the following two fixes being needed.

Patch set applied to u-boot-arm/master as a bugfix to the MACH_TYPE 
issue, thanks!

Amicalement,
-- 
Albert.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-10-28 17:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-21 22:23 [U-Boot] [PATCH 0/2] am335x: Minor fixes Tom Rini
2011-10-21 22:23 ` [U-Boot] [PATCH 1/2] am335x: Temporarily add MACH_TYPE define Tom Rini
2011-10-21 22:23 ` [U-Boot] [PATCH 2/2] am335x: Drop board_sysinfo struct Tom Rini
2011-10-21 23:10   ` Albert ARIBAUD
2011-10-28 17:26 ` [U-Boot] [PATCH 0/2] am335x: Minor fixes Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox