Skip to contentSkip to conversation

Zoom3: Add support for OMAP3630 Zoom3 board.

PATCH Superseded Aldo Cedillo 2 participants 2 messages Jun 10, 2010 – Jun 21, 2010 Kbuild

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

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

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

This patch gives basic funcionality to OMAP3630 Zoom3 board.

---
 MAINTAINERS                        |    4 +
 MAKEALL                            |    1 +
 Makefile                           |    3 +
 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        |  163 ++++++++++++++++++++++
 board/logicpd/zoom3/zoom3_serial.c |  132 +++++++++++++++++
 board/logicpd/zoom3/zoom3_serial.h |   76 ++++++++++
 common/serial.c                    |    2 +
 include/configs/omap3_zoom3.h      |  271 ++++++++++++++++++++++++++++++++++++
 include/serial.h                   |    7 +
 14 files changed, 1146 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 7a13d28..384dda9 100644
@@ -798,6 +798,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 2527352..8ebeaad 100755
@@ -650,6 +650,7 @@ LIST_ARM_CORTEX_A8="		\
 	omap3_sdp3430		\
 	omap3_zoom1		\
 	omap3_zoom2		\
+	omap3_zoom3		\
 	smdkc100		\
 "
 
Makefile +3 -0
index c26e491..198ee67 100644
@@ -3179,6 +3179,9 @@ omap3_zoom1_config :	unconfig
 omap3_zoom2_config :	unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 zoom2 logicpd omap3
 
+omap3_zoom3_config :	unconfig
+	@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 zoom3 logicpd omap3
+
 smdkc100_config:	unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 smdkc100 samsung s5pc1xx
 
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 +163 -0

163 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 +271 -0

271 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
#1 lore raw

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

Quoted 26 lines

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

This patch gives basic funcionality to OMAP3630 Zoom3 board.

---
 MAINTAINERS                        |    4 +
 MAKEALL                            |    1 +
 Makefile                           |    3 +
 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        |  163 ++++++++++++++++++++++
 board/logicpd/zoom3/zoom3_serial.c |  132 +++++++++++++++++
 board/logicpd/zoom3/zoom3_serial.h |   76 ++++++++++
 common/serial.c                    |    2 +
 include/configs/omap3_zoom3.h      |  271
++++++++++++++++++++++++++++++++++++
 include/serial.h                   |    7 +
 14 files changed, 1146 insertions(+), 0 deletions(-)
 create mode 100644 board/logicpd/zoom3/Makefile
Quoted 8 lines
 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

This patch had 31 checkpatch errors.

Please fix.

Also while resubmitting, the patch should be against u-boot/next

Thanks,
Sandeep