Skip to contentSkip to conversation

Zoom3: Add support for OMAP3630 Zoom3 board.

PATCH Superseded Aldo Cedillo 1 participant 1 message Jun 25, 2010 Kbuild

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 Zoom3: Add support for OMAP3630 Zoom3 board.

From: Aldo Brett Cedillo Martinez <[email protected]>

This patch gives basic functionality to OMAP3630 Zoom3 board.

Thanks Sandeep for the observations. This version has been rebased on the next branch.

---
 MAINTAINERS                        |    4 +
 MAKEALL                            |    1 +
 Makefile                           |    4 +
 board/logicpd/zoom3/Makefile       |   54 +++++++
 board/logicpd/zoom3/config.mk      |   33 +++++
 board/logicpd/zoom3/debug_board.c  |   66 +++++++++
 board/logicpd/zoom3/led.c          |  133 +++++++++++++++++
 board/logicpd/zoom3/zoom3.c        |  201 ++++++++++++++++++++++++++
 board/logicpd/zoom3/zoom3.h        |  164 +++++++++++++++++++++
 board/logicpd/zoom3/zoom3_serial.c |  132 +++++++++++++++++
 board/logicpd/zoom3/zoom3_serial.h |   76 ++++++++++
 common/serial.c                    |    2 +
 include/configs/omap3_zoom3.h      |  274 ++++++++++++++++++++++++++++++++++++
 include/serial.h                   |    7 +
 14 files changed, 1151 insertions(+), 0 deletions(-)
 create mode 100644 board/logicpd/zoom3/Makefile
 create mode 100644 board/logicpd/zoom3/config.mk
 create mode 100644 board/logicpd/zoom3/debug_board.c
 create mode 100644 board/logicpd/zoom3/led.c
 create mode 100644 board/logicpd/zoom3/zoom3.c
 create mode 100644 board/logicpd/zoom3/zoom3.h
 create mode 100644 board/logicpd/zoom3/zoom3_serial.c
 create mode 100644 board/logicpd/zoom3/zoom3_serial.h
 create mode 100644 include/configs/omap3_zoom3.h
MAINTAINERS +4 -0
index d7aec98..e2eff5f 100644
@@ -810,6 +810,10 @@ Alex Z
 	lart		SA1100
 	dnp1110		SA1110
 
+Aldo Brett Cedillo Martinez <[email protected]>
+
+	omap3_zoom3	ARM CORTEX-A8 (OMAP3xx SoC)
+
 -------------------------------------------------------------------------
 
 Unknown / orphaned boards:
MAKEALL +1 -0
index d6d5f5b..c64de47 100755
@@ -654,6 +654,7 @@ LIST_ARM_CORTEX_A8="		\
 	omap3_sdp3430		\
 	omap3_zoom1		\
 	omap3_zoom2		\
+	omap3_zoom3		\
 	s5p_goni		\
 	smdkc100		\
 "
Makefile +4 -0
index 64b7573..99142d0 100644
@@ -2086,6 +2086,10 @@ omap730p2_cs3boot_config :	unconfig
 	fi;
 	@$(MKCONFIG) -n $@ -a omap730p2 arm arm926ejs omap730p2 ti omap
 
+omap3_zoom3_config:	unconfig
+	@mkdir -p $(obj)include
+	@$(MKCONFIG) -n $@ -a omap3_zoom3 arm arm_cortexa8 zoom3 logicpd omap3
+
 spear300_config \
 spear310_config \
 spear320_config :	unconfig
board/logicpd/zoom3/Makefile new file +54 -0

54 lines not on this page · raw message

board/logicpd/zoom3/config.mk new file +33 -0
new file mode 100644
index 0000000..33f394b
@@ -0,0 +1,33 @@
+#
+# (C) Copyright 2009
+# Texas Instruments, <www.ti.com>
+#
+# Zoom II uses OMAP3 (ARM-CortexA8) CPU
+# see http://www.ti.com/ for more information on Texas Instruments
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+# Physical Address:
+# 0x80000000 (bank0)
+# 0xA0000000 (bank1)
+# Linux-Kernel is expected to be at 0x80008000, entry 0x80008000
+# (mem base + reserved)
+
+# For use with external or internal boots.
+TEXT_BASE = 0x80e80000
board/logicpd/zoom3/debug_board.c new file +66 -0

66 lines not on this page · raw message

board/logicpd/zoom3/led.c new file +133 -0

133 lines not on this page · raw message

board/logicpd/zoom3/zoom3.c new file +201 -0

201 lines not on this page · raw message

board/logicpd/zoom3/zoom3.h new file +164 -0

164 lines not on this page · raw message

board/logicpd/zoom3/zoom3_serial.c new file +132 -0

132 lines not on this page · raw message

board/logicpd/zoom3/zoom3_serial.h new file +76 -0

76 lines not on this page · raw message

common/serial.c +2 -0
index fceabfa..2a644ba 100644
@@ -92,6 +92,8 @@ struct serial_device *__default_serial_console (void)
 #endif
 #elif defined(CONFIG_OMAP3_ZOOM2)
 		return ZOOM2_DEFAULT_SERIAL_DEVICE;
+#elif defined(CONFIG_OMAP3_ZOOM3)
+		return ZOOM3_DEFAULT_SERIAL_DEVICE;
 #else
 #error No default console
 #endif
include/configs/omap3_zoom3.h new file +274 -0

274 lines not on this page · raw message

include/serial.h +7 -0
index 6513d8e..236e5d1 100644
@@ -66,6 +66,13 @@ extern struct serial_device zoom2_serial_device2;
 extern struct serial_device zoom2_serial_device3;
 #endif
 
+#if defined(CONFIG_OMAP3_ZOOM3)
+extern struct serial_device zoom3_serial_device0;
+extern struct serial_device zoom3_serial_device1;
+extern struct serial_device zoom3_serial_device2;
+extern struct serial_device zoom3_serial_device3;
+#endif
+
 extern struct serial_device serial_ffuart_device;
 extern struct serial_device serial_btuart_device;
 extern struct serial_device serial_stuart_device;
Signature · 1 line
1.6.3.3