Skip to contentSkip to conversation

tx25: re-add MACH_TYPE_TX25

PATCH New Wolfgang Denk 2 participants 3 messages Oct 30, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tx25: re-add MACH_TYPE_TX25

---
 include/configs/tx25.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
include/configs/tx25.h +4 -0
index 8cb57ff..39d551e 100644
@@ -29,6 +29,10 @@
 #define CONFIG_MX25_CLK32		32000	/* OSC32K frequency */
 #define CONFIG_SYS_HZ			1000
 
+#ifndef MACH_TYPE_TX25
+#define MACH_TYPE_TX25			2177
+#endif
+
 #define	CONFIG_SYS_MONITOR_LEN		(256 << 10)	/* 256 kB for U-Boot */
 
 /* NAND BOOT is the only boot method */
Signature · 1 line
1.7.6.4
#1 lore raw

PATCH 1/1 tx25: re-add MACH_TYPE_TX25

Quoted 11 lines · Wolfgang Denk
---
 include/configs/tx25.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
include/configs/tx25.h +0 -0
index 8cb57ff..39d551e 100644

include/configs/tx25.h line 37

Quoted 9 lines
include/configs/tx25.h +4 -0
@@ -29,6 +29,10 @@
 #define CONFIG_MX25_CLK32		32000	/* OSC32K frequency */
 #define CONFIG_SYS_HZ			1000
 
+#ifndef MACH_TYPE_TX25
+#define MACH_TYPE_TX25			2177
+#endif
+
 #define	CONFIG_SYS_MONITOR_LEN		(256 << 10)	/* 256 kB for U-Boot */
 

Thanks for reporting, but....

..I have already sent a fix for this last week, using also the standard mechanism in arch/arm/lib/board.c to set the mach-id:

http://patchwork.ozlabs.org/patch/122357/

As a fix, I have already applied it and I inserted it in my pull-request ro Albert. The patch is already in u-boot-arm and as far as I have tested, there should be no broken IMX boards due to missing mach type.

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================
#2 lore raw

PATCH 1/1 tx25: re-add MACH_TYPE_TX25

Dear Stefano,

Quoted 5 lines · In message <[email protected]> you wrote:

Thanks for reporting, but....

..I have already sent a fix for this last week, using also the standard mechanism in arch/arm/lib/board.c to set the mach-id:

Sorry, I missed that. Thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The Gates in my computer are AND, OR and NOT; they are not Bill.