Skip to contentSkip to conversation

TQMA31: add new board with i.MX31 processor

PATCH New Jens Gehrlein 2 participants 2 messages Jul 8, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 4/10 TQMA31: add new board with i.MX31 processor

---

Fixed the following issues (compared to v1):
a) Myself: added NFS mount option "rw" to default environment
b) Magnus: added prefix $(obj) in front of .depend in Makefile. Thank you for catching that.
c) Jean-Christophe: used $(BOARD) in Makefile,
fixed whitespace, tabs, special character,
patched mach-types.h
d) Heiko: removed defines for default netmask, ipaddr, serverip

 MAINTAINERS                           |    4 
 MAKEALL                               |    1 
 Makefile                              |    3 
 board/tqc/tqma31/Makefile             |   48 ++++
 board/tqc/tqma31/config.mk            |    2 
 board/tqc/tqma31/lowlevel_init.S      |  375 +++++++++++++++++++++++++++++++++
 board/tqc/tqma31/tqma31.c             |   89 ++++++++
 board/tqc/tqma31/u-boot.lds           |   72 ++++++
 include/asm-arm/arch-mx31/mx31-regs.h |   42 ++++
 include/asm-arm/mach-types.h          |   13 +
 include/configs/TQMA31.h              |  266 +++++++++++++++++++++++
 11 files changed, 915 insertions(+), 0 deletions(-)
 create mode 100644 board/tqc/tqma31/Makefile
 create mode 100644 board/tqc/tqma31/config.mk
 create mode 100644 board/tqc/tqma31/lowlevel_init.S
 create mode 100644 board/tqc/tqma31/tqma31.c
 create mode 100644 board/tqc/tqma31/u-boot.lds
 create mode 100644 include/configs/TQMA31.h
MAINTAINERS +4 -0
index a3d70b1..dff1757 100644
@@ -591,6 +591,10 @@ Michael Schwingen <[email protected]>
 	actux3			xscale
 	actux4			xscale
 
+Jens Gehrlein <[email protected]>
+
+	TQMA31			i.MX31
+
 #########################################################################
 # x86 Systems:								#
 #									#
MAKEALL +1 -0
index 32caab7..4e442c5 100755
@@ -524,6 +524,7 @@ LIST_ARM11="		\
 	imx31_litekit	\
 	imx31_phycore	\
 	mx31ads		\
+	TQMA31		\
 "
 
 #########################################################################
Makefile +3 -0
index 8bfc891..e3ade25 100644
@@ -2664,6 +2664,9 @@ imx31_phycore_config	: unconfig
 mx31ads_config		: unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm1136 mx31ads NULL mx31
 
+TQMA31_config		: unconfig
+	@$(MKCONFIG) $(@:_config=) arm arm1136 tqma31 tqc mx31
+
 #========================================================================
 # i386
 #========================================================================
board/tqc/tqma31/Makefile new file +48 -0

48 lines not on this page · raw message

board/tqc/tqma31/config.mk new file +2 -0
new file mode 100644
index 0000000..19df69e
@@ -0,0 +1,2 @@
+TEXT_BASE = 0x8ff00000
+
board/tqc/tqma31/lowlevel_init.S new file +375 -0

375 lines not on this page · raw message

board/tqc/tqma31/tqma31.c new file +89 -0

89 lines not on this page · raw message

board/tqc/tqma31/u-boot.lds new file +72 -0

72 lines not on this page · raw message

include/asm-arm/arch-mx31/mx31-regs.h +42 -0

53 lines not on this page · raw message

include/asm-arm/mach-types.h +13 -0
index aaf2ea2..e44027a 100644
@@ -1595,6 +1595,7 @@ extern unsigned int __machine_arch_type;
 #define MACH_TYPE_P300                 1602
 #define MACH_TYPE_XDACOMET             1603
 #define MACH_TYPE_DEXFLEX2             1604
+#define MACH_TYPE_TQMA31               1810
 
 #ifdef CONFIG_ARCH_EBSA110
 # ifdef machine_arch_type
@@ -20592,6 +20593,18 @@ extern unsigned int __machine_arch_type;
 # define machine_is_dexflex2()	(0)
 #endif
 
+#ifdef CONFIG_MACH_TQMA31
+# ifdef machine_arch_type
+#  undef machine_arch_type
+#  define machine_arch_type	__machine_arch_type
+# else
+#  define machine_arch_type	MACH_TYPE_TQMA31
+# endif
+# define machine_is_tqma31()	(machine_arch_type == MACH_TYPE_TQMA31)
+#else
+# define machine_is_tqma31()	(0)
+#endif
+
 /*
  * These have not yet been registered
  */
include/configs/TQMA31.h new file +266 -0

266 lines not on this page · raw message

#1 lore raw

PATCH v3 4/10 TQMA31: add new board with i.MX31 processor

include/configs/TQMA31.h line 58

Quoted 3 lines · In message <[email protected]> you wrote:
include/configs/TQMA31.h new file +2 -0
+/* Timer tick */
+#define CFG_HZ				32768

CFG_HZ shall be always 1000.

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
Never put off until tomorrow what you can put off indefinitely.