Skip to contentSkip to conversation

Add basic NVIDIA Tegra2 SoC support

PATCH Superseded Tom Warren 3 participants 12 messages Jan 27, 2011 – Feb 7, 2011

Subsystems (3)
lore
Share & tools
lore

Tom Warren

author
#0 lore raw

v6 cover Add basic NVIDIA Tegra2 SoC support

This series of patches adds preliminary/baseline support for NVIDIA's Tegra2 SoC. Basic CPU (AVP), RAM and UART init are covered so that the system (Harmony or Seaboard) can boot to the U-Boot serial cmd prompt.

Further support (for Cortex-A9 CPU(s), USB, SD/MMC, etc.) to follow.

Changes for V2:
- Coding style cleanup
- Remove mach-types.h change; wait for ARM kernel sync-up
- Move serial driver changes to separate patch
- Use board/nvidia/ instead of /board/tegra
- Remove TRUE/FALSE defines
- Use standard NS16550 register/bit defines in UART init
- Change nv-common.h config file to tegra2-common.h

Changes for V3:
- Use I/O accessors for Tegra2 HW MMIO register access
- Allow conditional compile of UARTA/UARTD code to save space

Changes for V4:
- Use address of HW structs (&pmc, etc.) in readl/writel
- Remove empty lines, fix mixed case hex #s & comments in header(s)
- Move board/nvidia/common/board.c UART code & header to arch/arm/cpu/armv7/tegra2/
- Declare internal functions as static in UART code

Changes for V5:
- Move arch/arm/cpu/armv7/uart.c & board.h to drivers/serial and rename to serial_tegra2.c
- Remove use of uart_num & UART_A/D in serial_tegra2, simplify code

Changes for V6:
- Fix uart.c add & delete in previous patchset
- Move pinmux & clock init code to common board file as per review
- Use #if defined() where possible in config files/UART code
- Drop all typedef and volatile struct declarations in header files

Tom Warren (4):
arm: Tegra2: Add basic NVIDIA Tegra2 SoC support
serial: Add Tegra2 serial port support
arm: Tegra2: Add support for NVIDIA Harmony board
arm: Tegra2: Add support for NVIDIA Seaboard board

 MAINTAINERS                                  |    5 +
 arch/arm/cpu/armv7/tegra2/Makefile           |   48 +++++++
 arch/arm/cpu/armv7/tegra2/board.c            |   88 ++++++++++++
 arch/arm/cpu/armv7/tegra2/config.mk          |   28 ++++
 arch/arm/cpu/armv7/tegra2/lowlevel_init.S    |   65 +++++++++
 arch/arm/cpu/armv7/tegra2/sys_info.c         |   35 +++++
 arch/arm/cpu/armv7/tegra2/timer.c            |  122 ++++++++++++++++
 arch/arm/include/asm/arch-tegra2/clk_rst.h   |  165 ++++++++++++++++++++++
 arch/arm/include/asm/arch-tegra2/pinmux.h    |   55 ++++++++
 arch/arm/include/asm/arch-tegra2/pmc.h       |  124 +++++++++++++++++
 arch/arm/include/asm/arch-tegra2/sys_proto.h |   35 +++++
 arch/arm/include/asm/arch-tegra2/tegra2.h    |   49 +++++++
 arch/arm/include/asm/arch-tegra2/uart.h      |   47 ++++++
 board/nvidia/common/board.c                  |  193 ++++++++++++++++++++++++++
 board/nvidia/harmony/Makefile                |   50 +++++++
 board/nvidia/seaboard/Makefile               |   50 +++++++
 boards.cfg                                   |    2 +
 common/serial.c                              |    3 +-
 drivers/serial/Makefile                      |    1 +
 drivers/serial/serial_tegra2.c               |   77 ++++++++++
 drivers/serial/serial_tegra2.h               |   29 ++++
 include/configs/harmony.h                    |   49 +++++++
 include/configs/seaboard.h                   |   43 ++++++
 include/configs/tegra2-common.h              |  160 +++++++++++++++++++++
 include/serial.h                             |    3 +-
 25 files changed, 1524 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/tegra2/Makefile
 create mode 100644 arch/arm/cpu/armv7/tegra2/board.c
 create mode 100644 arch/arm/cpu/armv7/tegra2/config.mk
 create mode 100644 arch/arm/cpu/armv7/tegra2/lowlevel_init.S
 create mode 100644 arch/arm/cpu/armv7/tegra2/sys_info.c
 create mode 100644 arch/arm/cpu/armv7/tegra2/timer.c
 create mode 100644 arch/arm/include/asm/arch-tegra2/clk_rst.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/pinmux.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/pmc.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/sys_proto.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/tegra2.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/uart.h
 create mode 100644 board/nvidia/common/board.c
 create mode 100644 board/nvidia/harmony/Makefile
 create mode 100644 board/nvidia/seaboard/Makefile
 create mode 100644 drivers/serial/serial_tegra2.c
 create mode 100644 drivers/serial/serial_tegra2.h
 create mode 100644 include/configs/harmony.h
 create mode 100644 include/configs/seaboard.h
 create mode 100644 include/configs/tegra2-common.h
Signature · 1 line
1.7.3.5
author
#1 lore raw

PATCH v6 1/4 arm: Tegra2: Add basic NVIDIA Tegra2 SoC support

---
Changes for V2:
- Coding style cleanup
- Move serial driver changes to separate patch
- Use board/nvidia instead of board/tegra
- Remove TRUE/FALSE defines
- Use standard NS16550 registers/bit defines in UART init

Changes for V3:
- Use I/O accessors for Tegra2 HW MMIO register access
- Allow conditional compile of UARTA/UARTD code to save space

Changes for V4:
- Use address of HW structs (&pmc, etc.) in readl/writel
- Remove empty lines, fix mixed case hex #s & comments in header(s)
- Move board/nvidia/common/board.c UART code & header to arch/arm/cpu/armv7/tegra2/
- Declare internal functions as static in UART code

Changes for V6:
- Fix uart.c add & delete in previous patchset
- Move pinmux & clock init code to common board file as per review
- Use #if defined() where possible in config files/UART code
- Drop all typedef and volatile struct declarations in header files

 arch/arm/cpu/armv7/tegra2/Makefile           |   48 +++++++
 arch/arm/cpu/armv7/tegra2/board.c            |   88 ++++++++++++
 arch/arm/cpu/armv7/tegra2/config.mk          |   28 ++++
 arch/arm/cpu/armv7/tegra2/lowlevel_init.S    |   65 +++++++++
 arch/arm/cpu/armv7/tegra2/sys_info.c         |   35 +++++
 arch/arm/cpu/armv7/tegra2/timer.c            |  122 ++++++++++++++++
 arch/arm/include/asm/arch-tegra2/clk_rst.h   |  165 ++++++++++++++++++++++
 arch/arm/include/asm/arch-tegra2/pinmux.h    |   55 ++++++++
 arch/arm/include/asm/arch-tegra2/pmc.h       |  124 +++++++++++++++++
 arch/arm/include/asm/arch-tegra2/sys_proto.h |   35 +++++
 arch/arm/include/asm/arch-tegra2/tegra2.h    |   49 +++++++
 arch/arm/include/asm/arch-tegra2/uart.h      |   47 ++++++
 board/nvidia/common/board.c                  |  193 ++++++++++++++++++++++++++
 13 files changed, 1054 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/tegra2/Makefile
 create mode 100644 arch/arm/cpu/armv7/tegra2/board.c
 create mode 100644 arch/arm/cpu/armv7/tegra2/config.mk
 create mode 100644 arch/arm/cpu/armv7/tegra2/lowlevel_init.S
 create mode 100644 arch/arm/cpu/armv7/tegra2/sys_info.c
 create mode 100644 arch/arm/cpu/armv7/tegra2/timer.c
 create mode 100644 arch/arm/include/asm/arch-tegra2/clk_rst.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/pinmux.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/pmc.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/sys_proto.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/tegra2.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/uart.h
 create mode 100644 board/nvidia/common/board.c
arch/arm/cpu/armv7/tegra2/Makefile new file +48 -0
new file mode 100644
index 0000000..687c887
@@ -0,0 +1,48 @@
+#
+# (C) Copyright 2010,2011 Nvidia Corporation.
+#
+# (C) Copyright 2000-2003
+# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
+#
+# 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
+#
+
+include $(TOPDIR)/config.mk
+
+LIB	=  $(obj)lib$(SOC).o
+
+SOBJS	:= lowlevel_init.o
+COBJS	:= board.o sys_info.o timer.o
+
+SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS	:= $(addprefix $(obj),$(COBJS) $(SOBJS))
+
+all:	 $(obj).depend $(LIB)
+
+$(LIB):	$(OBJS)
+	$(AR) $(ARFLAGS) $@ $(OBJS)
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################
arch/arm/cpu/armv7/tegra2/board.c new file +88 -0

88 lines not on this page · raw message

arch/arm/cpu/armv7/tegra2/config.mk new file +28 -0
new file mode 100644
index 0000000..96c0795
@@ -0,0 +1,28 @@
+#
+# (C) Copyright 2010,2011
+# NVIDIA Corporation <www.nvidia.com>
+#
+# (C) Copyright 2002
+# Gary Jennejohn, DENX Software Engineering, <[email protected]>
+#
+# 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
+#
+
+# Use ARMv4 for Tegra2 - initial code runs on the AVP, which is an ARM7TDI.
+PLATFORM_CPPFLAGS += -march=armv4
arch/arm/cpu/armv7/tegra2/lowlevel_init.S new file +65 -0

65 lines not on this page · raw message

arch/arm/cpu/armv7/tegra2/sys_info.c new file +35 -0
new file mode 100644
index 0000000..6d11dc1
@@ -0,0 +1,35 @@
+/*
+ * (C) Copyright 2010,2011
+ * NVIDIA Corporation <www.nvidia.com>
+ *
+ * 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
+ */
+
+#include <common.h>
+
+#ifdef CONFIG_DISPLAY_CPUINFO
+/* Print CPU information */
+int print_cpuinfo(void)
+{
+	puts("TEGRA2\n");
+
+	/* TBD: Add printf of major/minor rev info, stepping, etc. */
+	return 0;
+}
+#endif	/* CONFIG_DISPLAY_CPUINFO */
arch/arm/cpu/armv7/tegra2/timer.c new file +122 -0

122 lines not on this page · raw message

arch/arm/include/asm/arch-tegra2/clk_rst.h new file +165 -0

165 lines not on this page · raw message

arch/arm/include/asm/arch-tegra2/pinmux.h new file +55 -0

55 lines not on this page · raw message

arch/arm/include/asm/arch-tegra2/pmc.h new file +124 -0

124 lines not on this page · raw message

arch/arm/include/asm/arch-tegra2/sys_proto.h new file +35 -0
new file mode 100644
index 0000000..c11534e
@@ -0,0 +1,35 @@
+/*
+ * (C) Copyright 2010,2011
+ * NVIDIA Corporation <www.nvidia.com>
+ *
+ * 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
+ */
+
+#ifndef _SYS_PROTO_H_
+#define _SYS_PROTO_H_
+
+struct tegra2_sysinfo {
+	char *board_string;
+};
+
+void invalidate_dcache(void);
+
+extern const struct tegra2_sysinfo sysinfo;
+
+#endif
arch/arm/include/asm/arch-tegra2/tegra2.h new file +49 -0

49 lines not on this page · raw message

arch/arm/include/asm/arch-tegra2/uart.h new file +47 -0

47 lines not on this page · raw message

board/nvidia/common/board.c new file +193 -0

193 lines not on this page · raw message

Signature · 1 line
1.7.3.5
author
#2 lore raw

PATCH v6 2/4 serial: Add Tegra2 serial port support

In reply to Tom Warren

---
Changes for V2:
- Move serial driver to separate patch

Changes for V5:
- Move arch/arm/cpu/armv7/uart.c & board.h to drivers/serial and rename to serial_tegra2.c
- Remove use of uart_num & UART_A/D in serial_tegra2, simplify code

Changes for V6:
- Fix uart.c add & delete in previous patchset
- Move pinmux & clock init code to common board file as per review
- Use #if defined() where possible in config files/UART code

 common/serial.c                |    3 +-
 drivers/serial/Makefile        |    1 +
 drivers/serial/serial_tegra2.c |   77 ++++++++++++++++++++++++++++++++++++++++
 drivers/serial/serial_tegra2.h |   29 +++++++++++++++
 include/serial.h               |    3 +-
 5 files changed, 111 insertions(+), 2 deletions(-)
 create mode 100644 drivers/serial/serial_tegra2.c
 create mode 100644 drivers/serial/serial_tegra2.h
common/serial.c +2 -1
index 051ae4e..8ebf9a5 100644
@@ -41,7 +41,8 @@ struct serial_device *__default_serial_console (void)
 #elif defined(CONFIG_4xx) \
    || defined(CONFIG_MB86R0x) || defined(CONFIG_MPC5xxx) \
    || defined(CONFIG_MPC83xx) || defined(CONFIG_MPC85xx) \
-   || defined(CONFIG_MPC86xx) || defined(CONFIG_SYS_SC520)
+   || defined(CONFIG_MPC86xx) || defined(CONFIG_SYS_SC520) \
+   || defined(CONFIG_TEGRA2)
 #if defined(CONFIG_CONS_INDEX) && defined(CONFIG_SYS_NS16550_SERIAL)
 #if (CONFIG_CONS_INDEX==1)
 	return &eserial1_device;
drivers/serial/Makefile +1 -0
index 7d221fc..5a6011e 100644
@@ -55,6 +55,7 @@ COBJS-$(CONFIG_S3C24X0_SERIAL) += serial_s3c24x0.o
 COBJS-$(CONFIG_S3C44B0_SERIAL) += serial_s3c44b0.o
 COBJS-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o
 COBJS-$(CONFIG_SCIF_CONSOLE) += serial_sh.o
+COBJS-$(CONFIG_TEGRA2) += serial_tegra2.o
 COBJS-$(CONFIG_USB_TTY) += usbtty.o
 
 COBJS	:= $(sort $(COBJS-y))
drivers/serial/serial_tegra2.c new file +77 -0

77 lines not on this page · raw message

drivers/serial/serial_tegra2.h new file +29 -0
new file mode 100644
index 0000000..5704800
@@ -0,0 +1,29 @@
+/*
+ *  (C) Copyright 2010,2011
+ *  NVIDIA Corporation <www.nvidia.com>
+ *
+ * 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
+ */
+
+#ifndef _SERIAL_TEGRA_H_
+#define _SERIAL_TEGRA_H_
+
+#include <asm/arch/uart.h>
+
+#endif /* _SERIAL_TEGRA_H_ */
include/serial.h +2 -1
index 15ab73c..f21d961 100644
@@ -27,7 +27,8 @@ extern struct serial_device * default_serial_console (void);
     defined(CONFIG_405EP) || defined(CONFIG_405EZ) || defined(CONFIG_405EX) || \
     defined(CONFIG_MB86R0x) || defined(CONFIG_MPC5xxx) || \
     defined(CONFIG_MPC83xx) || defined(CONFIG_MPC85xx) || \
-    defined(CONFIG_MPC86xx) || defined(CONFIG_SYS_SC520)
+    defined(CONFIG_MPC86xx) || defined(CONFIG_SYS_SC520) || \
+    defined(CONFIG_TEGRA2)
 extern struct serial_device serial0_device;
 extern struct serial_device serial1_device;
 #if defined(CONFIG_SYS_NS16550_SERIAL)
Signature · 1 line
1.7.3.5
author
#3 lore raw

PATCH v6 3/4 arm: Tegra2: Add support for NVIDIA Harmony board

In reply to Tom Warren

---
Changes for V2:
- Use board/nvidia/ instead of /board/tegra
- Change nv-common.h config file to tegra2-common.h

Changes for V6:
- Use #if defined() where possible in config files/UART code

 MAINTAINERS                     |    4 +
 board/nvidia/harmony/Makefile   |   50 ++++++++++++
 boards.cfg                      |    1 +
 include/configs/harmony.h       |   49 ++++++++++++
 include/configs/tegra2-common.h |  160 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 264 insertions(+), 0 deletions(-)
 create mode 100644 board/nvidia/harmony/Makefile
 create mode 100644 include/configs/harmony.h
 create mode 100644 include/configs/tegra2-common.h
MAINTAINERS +4 -0
index ba83f71..b5cff19 100644
@@ -841,6 +841,10 @@ Prafulla Wadaskar <[email protected]>
 	rd6281a		ARM926EJS (Kirkwood SoC)
 	sheevaplug	ARM926EJS (Kirkwood SoC)
 
+Tom Warren <[email protected]>
+
+	harmony		Tegra2 (ARM7 & A9 Dual Core)
+
 Matthias Weisser <[email protected]>
 
 	jadecpu		ARM926EJS (MB86R01 SoC)
board/nvidia/harmony/Makefile new file +50 -0

50 lines not on this page · raw message

boards.cfg +1 -0
index 94b8745..ee7c4b7 100644
@@ -122,6 +122,7 @@ omap4_panda                  arm         armv7       panda               ti
 omap4_sdp4430                arm         armv7       sdp4430             ti             omap4
 s5p_goni                     arm         armv7       goni                samsung        s5pc1xx
 smdkc100                     arm         armv7       smdkc100            samsung        s5pc1xx
+harmony                      arm         armv7       harmony             nvidia         tegra2
 actux1                       arm         ixp
 actux2                       arm         ixp
 actux3                       arm         ixp
include/configs/harmony.h new file +49 -0

49 lines not on this page · raw message

include/configs/tegra2-common.h new file +160 -0

160 lines not on this page · raw message

Signature · 1 line
1.7.3.5
author
#4 lore raw

PATCH v6 4/4 arm: Tegra2: Add support for NVIDIA Seaboard board

In reply to Tom Warren

---
Changes for V2:
- Remove mach-types.h change; wait for ARM kernel sync-up
- Use board/nvidia instead of board/tegra

Changes for V6:
- Use #if defined() where possible in config files/UART code

 MAINTAINERS                    |    1 +
 board/nvidia/seaboard/Makefile |   50 ++++++++++++++++++++++++++++++++++++++++
 boards.cfg                     |    1 +
 include/configs/seaboard.h     |   43 ++++++++++++++++++++++++++++++++++
 4 files changed, 95 insertions(+), 0 deletions(-)
 create mode 100644 board/nvidia/seaboard/Makefile
 create mode 100644 include/configs/seaboard.h
MAINTAINERS +1 -0
index b5cff19..f4795d3 100644
@@ -844,6 +844,7 @@ Prafulla Wadaskar <[email protected]>
 Tom Warren <[email protected]>
 
 	harmony		Tegra2 (ARM7 & A9 Dual Core)
+	seaboard	Tegra2 (ARM7 & A9 Dual Core)
 
 Matthias Weisser <[email protected]>
 
board/nvidia/seaboard/Makefile new file +50 -0

50 lines not on this page · raw message

boards.cfg +1 -0
index ee7c4b7..3c4c249 100644
@@ -123,6 +123,7 @@ omap4_sdp4430                arm         armv7       sdp4430             ti
 s5p_goni                     arm         armv7       goni                samsung        s5pc1xx
 smdkc100                     arm         armv7       smdkc100            samsung        s5pc1xx
 harmony                      arm         armv7       harmony             nvidia         tegra2
+seaboard                     arm         armv7       seaboard            nvidia         tegra2
 actux1                       arm         ixp
 actux2                       arm         ixp
 actux3                       arm         ixp
include/configs/seaboard.h new file +43 -0

43 lines not on this page · raw message

Signature · 1 line
1.7.3.5
author
#5 lore raw

v6 cover Add basic NVIDIA Tegra2 SoC support

In reply to Tom Warren

I haven't seen any new feedback on this version (V6) of the patchset since it was posted.

Wolfgang, Mike, Peter, et al - are you happy with the current patch? If so, when can I expect it to be pushed?

Thanks,

Tom

Quoted 94 lines · Tom Warren

This series of patches adds preliminary/baseline support for NVIDIA's Tegra2 SoC. ?Basic CPU (AVP), RAM and UART init are covered so that the system (Harmony or Seaboard) can boot to the U-Boot serial cmd prompt.

Further support (for Cortex-A9 CPU(s), USB, SD/MMC, etc.) to follow.

Changes for V2:
? ? ? ?- Coding style cleanup
? ? ? ?- Remove mach-types.h change; wait for ARM kernel sync-up ? ? ? ?- Move serial driver changes to separate patch ? ? ? ?- Use board/nvidia/ instead of /board/tegra
? ? ? ?- Remove TRUE/FALSE defines
? ? ? ?- Use standard NS16550 register/bit defines in UART init ? ? ? ?- Change nv-common.h config file to tegra2-common.h

Changes for V3:
? ? ? ?- Use I/O accessors for Tegra2 HW MMIO register access ? ? ? ?- Allow conditional compile of UARTA/UARTD code to save space

Changes for V4:
? ? ? ?- Use address of HW structs (&pmc, etc.) in readl/writel ? ? ? ?- Remove empty lines, fix mixed case hex #s & comments in header(s) ? ? ? ?- Move board/nvidia/common/board.c UART code & header to ? ? ? ? ? ? ? ?arch/arm/cpu/armv7/tegra2/
? ? ? ?- Declare internal functions as static in UART code

Changes for V5:
? ? ? ?- Move arch/arm/cpu/armv7/uart.c & board.h to drivers/serial and ? ? ? ? ? ? ? ?rename to serial_tegra2.c
? ? ? ?- Remove use of uart_num & UART_A/D in serial_tegra2, simplify code

Changes for V6:
? ? ? ?- Fix uart.c add & delete in previous patchset
? ? ? ?- Move pinmux & clock init code to common board file as per review ? ? ? ?- Use #if defined() where possible in config files/UART code ? ? ? ?- Drop all typedef and volatile struct declarations in header files

Tom Warren (4):
?arm: Tegra2: Add basic NVIDIA Tegra2 SoC support ?serial: Add Tegra2 serial port support ?arm: Tegra2: Add support for NVIDIA Harmony board ?arm: Tegra2: Add support for NVIDIA Seaboard board

?MAINTAINERS ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? ?5 +
?arch/arm/cpu/armv7/tegra2/Makefile ? ? ? ? ? | ? 48 +++++++
?arch/arm/cpu/armv7/tegra2/board.c ? ? ? ? ? ?| ? 88 ++++++++++++
?arch/arm/cpu/armv7/tegra2/config.mk ? ? ? ? ?| ? 28 ++++
?arch/arm/cpu/armv7/tegra2/lowlevel_init.S ? ?| ? 65 +++++++++
?arch/arm/cpu/armv7/tegra2/sys_info.c ? ? ? ? | ? 35 +++++
?arch/arm/cpu/armv7/tegra2/timer.c ? ? ? ? ? ?| ?122 ++++++++++++++++
?arch/arm/include/asm/arch-tegra2/clk_rst.h ? | ?165 ++++++++++++++++++++++
?arch/arm/include/asm/arch-tegra2/pinmux.h ? ?| ? 55 ++++++++
?arch/arm/include/asm/arch-tegra2/pmc.h ? ? ? | ?124 +++++++++++++++++
?arch/arm/include/asm/arch-tegra2/sys_proto.h | ? 35 +++++
?arch/arm/include/asm/arch-tegra2/tegra2.h ? ?| ? 49 +++++++
?arch/arm/include/asm/arch-tegra2/uart.h ? ? ?| ? 47 ++++++
?board/nvidia/common/board.c ? ? ? ? ? ? ? ? ?| ?193 ++++++++++++++++++++++++++
?board/nvidia/harmony/Makefile ? ? ? ? ? ? ? ?| ? 50 +++++++
?board/nvidia/seaboard/Makefile ? ? ? ? ? ? ? | ? 50 +++++++
?boards.cfg ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? ?2 +
?common/serial.c ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? ?3 +-
?drivers/serial/Makefile ? ? ? ? ? ? ? ? ? ? ?| ? ?1 +
?drivers/serial/serial_tegra2.c ? ? ? ? ? ? ? | ? 77 ++++++++++
?drivers/serial/serial_tegra2.h ? ? ? ? ? ? ? | ? 29 ++++
?include/configs/harmony.h ? ? ? ? ? ? ? ? ? ?| ? 49 +++++++
?include/configs/seaboard.h ? ? ? ? ? ? ? ? ? | ? 43 ++++++
?include/configs/tegra2-common.h ? ? ? ? ? ? ?| ?160 +++++++++++++++++++++
?include/serial.h ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? ?3 +-

?25 files changed, 1524 insertions(+), 2 deletions(-) ?create mode 100644 arch/arm/cpu/armv7/tegra2/Makefile ?create mode 100644 arch/arm/cpu/armv7/tegra2/board.c ?create mode 100644 arch/arm/cpu/armv7/tegra2/config.mk ?create mode 100644 arch/arm/cpu/armv7/tegra2/lowlevel_init.S ?create mode 100644 arch/arm/cpu/armv7/tegra2/sys_info.c ?create mode 100644 arch/arm/cpu/armv7/tegra2/timer.c ?create mode 100644 arch/arm/include/asm/arch-tegra2/clk_rst.h ?create mode 100644 arch/arm/include/asm/arch-tegra2/pinmux.h ?create mode 100644 arch/arm/include/asm/arch-tegra2/pmc.h ?create mode 100644 arch/arm/include/asm/arch-tegra2/sys_proto.h ?create mode 100644 arch/arm/include/asm/arch-tegra2/tegra2.h ?create mode 100644 arch/arm/include/asm/arch-tegra2/uart.h ?create mode 100644 board/nvidia/common/board.c ?create mode 100644 board/nvidia/harmony/Makefile ?create mode 100644 board/nvidia/seaboard/Makefile ?create mode 100644 drivers/serial/serial_tegra2.c ?create mode 100644 drivers/serial/serial_tegra2.h ?create mode 100644 include/configs/harmony.h
?create mode 100644 include/configs/seaboard.h
?create mode 100644 include/configs/tegra2-common.h

--
1.7.3.5

#6 lore raw

v6 cover Add basic NVIDIA Tegra2 SoC support

Quoted 4 lines · Tom Warren

I haven't seen any new feedback on this version (V6) of the patchset since it was posted.

Wolfgang, Mike, Peter, et al - are you happy with the current patch?

I'm Ok with the current patch.

Quoted 101 lines

If so, when can I expect it to be pushed?

Thanks,

Tom

Quoted 94 lines · Tom Warren

This series of patches adds preliminary/baseline support for NVIDIA's Tegra2 SoC. Basic CPU (AVP), RAM and UART init are covered so that the system (Harmony or Seaboard) can boot to the U-Boot serial cmd prompt.

Further support (for Cortex-A9 CPU(s), USB, SD/MMC, etc.) to follow.

Changes for V2:
- Coding style cleanup
- Remove mach-types.h change; wait for ARM kernel sync-up
- Move serial driver changes to separate patch
- Use board/nvidia/ instead of /board/tegra
- Remove TRUE/FALSE defines
- Use standard NS16550 register/bit defines in UART init
- Change nv-common.h config file to tegra2-common.h

Changes for V3:
- Use I/O accessors for Tegra2 HW MMIO register access
- Allow conditional compile of UARTA/UARTD code to save space

Changes for V4:
- Use address of HW structs (&pmc, etc.) in readl/writel
- Remove empty lines, fix mixed case hex #s & comments in header(s)
- Move board/nvidia/common/board.c UART code & header to arch/arm/cpu/armv7/tegra2/
- Declare internal functions as static in UART code

Changes for V5:
- Move arch/arm/cpu/armv7/uart.c & board.h to drivers/serial and rename to serial_tegra2.c
- Remove use of uart_num & UART_A/D in serial_tegra2, simplify code

Changes for V6:
- Fix uart.c add & delete in previous patchset
- Move pinmux & clock init code to common board file as per review
- Use #if defined() where possible in config files/UART code
- Drop all typedef and volatile struct declarations in header files

Tom Warren (4):
arm: Tegra2: Add basic NVIDIA Tegra2 SoC support
serial: Add Tegra2 serial port support
arm: Tegra2: Add support for NVIDIA Harmony board
arm: Tegra2: Add support for NVIDIA Seaboard board

 MAINTAINERS                                  |    5 +
 arch/arm/cpu/armv7/tegra2/Makefile           |   48 +++++++
 arch/arm/cpu/armv7/tegra2/board.c            |   88 ++++++++++++
 arch/arm/cpu/armv7/tegra2/config.mk          |   28 ++++
 arch/arm/cpu/armv7/tegra2/lowlevel_init.S    |   65 +++++++++
 arch/arm/cpu/armv7/tegra2/sys_info.c         |   35 +++++
 arch/arm/cpu/armv7/tegra2/timer.c            |  122 ++++++++++++++++
 arch/arm/include/asm/arch-tegra2/clk_rst.h   |  165 ++++++++++++++++++++++
 arch/arm/include/asm/arch-tegra2/pinmux.h    |   55 ++++++++
 arch/arm/include/asm/arch-tegra2/pmc.h       |  124 +++++++++++++++++
 arch/arm/include/asm/arch-tegra2/sys_proto.h |   35 +++++
 arch/arm/include/asm/arch-tegra2/tegra2.h    |   49 +++++++
 arch/arm/include/asm/arch-tegra2/uart.h      |   47 ++++++
 board/nvidia/common/board.c                  |  193 ++++++++++++++++++++++++++
 board/nvidia/harmony/Makefile                |   50 +++++++
 board/nvidia/seaboard/Makefile               |   50 +++++++
 boards.cfg                                   |    2 +
 common/serial.c                              |    3 +-
 drivers/serial/Makefile                      |    1 +
 drivers/serial/serial_tegra2.c               |   77 ++++++++++
 drivers/serial/serial_tegra2.h               |   29 ++++
 include/configs/harmony.h                    |   49 +++++++
 include/configs/seaboard.h                   |   43 ++++++
 include/configs/tegra2-common.h              |  160 +++++++++++++++++++++
 include/serial.h                             |    3 +-
 25 files changed, 1524 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/tegra2/Makefile
 create mode 100644 arch/arm/cpu/armv7/tegra2/board.c
 create mode 100644 arch/arm/cpu/armv7/tegra2/config.mk
 create mode 100644 arch/arm/cpu/armv7/tegra2/lowlevel_init.S
 create mode 100644 arch/arm/cpu/armv7/tegra2/sys_info.c
 create mode 100644 arch/arm/cpu/armv7/tegra2/timer.c
 create mode 100644 arch/arm/include/asm/arch-tegra2/clk_rst.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/pinmux.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/pmc.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/sys_proto.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/tegra2.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/uart.h
 create mode 100644 board/nvidia/common/board.c
 create mode 100644 board/nvidia/harmony/Makefile
 create mode 100644 board/nvidia/seaboard/Makefile
 create mode 100644 drivers/serial/serial_tegra2.c
 create mode 100644 drivers/serial/serial_tegra2.h
 create mode 100644 include/configs/harmony.h
 create mode 100644 include/configs/seaboard.h
 create mode 100644 include/configs/tegra2-common.h

--
1.7.3.5

Signature · 2 lines
Sincerely yours,
Mike.
author
#7 lore raw

v6 cover Add basic NVIDIA Tegra2 SoC support

Mike,

Quoted 7 lines · Mike Rapoport
Quoted 4 lines · Tom Warren

I haven't seen any new feedback on this version (V6) of the patchset since it was posted.

Wolfgang, Mike, Peter, et al - are you happy with the current patch?

I'm Ok with the current patch.

Thanks, Mike. Appreciate your help.

Quoted 2 lines
Quoted 2 lines

If so, when can I expect it to be pushed?

Who has to push/accept/apply the patch? Wolfgang, or the ARM custodian?

Thanks.

Quoted 106 lines
Quoted 100 lines

Thanks,

Tom

Quoted 94 lines · Tom Warren

This series of patches adds preliminary/baseline support for NVIDIA's Tegra2 SoC. ?Basic CPU (AVP), RAM and UART init are covered so that the system (Harmony or Seaboard) can boot to the U-Boot serial cmd prompt.

Further support (for Cortex-A9 CPU(s), USB, SD/MMC, etc.) to follow.

Changes for V2:
? ? ? ?- Coding style cleanup
? ? ? ?- Remove mach-types.h change; wait for ARM kernel sync-up ? ? ? ?- Move serial driver changes to separate patch ? ? ? ?- Use board/nvidia/ instead of /board/tegra
? ? ? ?- Remove TRUE/FALSE defines
? ? ? ?- Use standard NS16550 register/bit defines in UART init ? ? ? ?- Change nv-common.h config file to tegra2-common.h

Changes for V3:
? ? ? ?- Use I/O accessors for Tegra2 HW MMIO register access ? ? ? ?- Allow conditional compile of UARTA/UARTD code to save space

Changes for V4:
? ? ? ?- Use address of HW structs (&pmc, etc.) in readl/writel ? ? ? ?- Remove empty lines, fix mixed case hex #s & comments in header(s) ? ? ? ?- Move board/nvidia/common/board.c UART code & header to ? ? ? ? ? ? ? ?arch/arm/cpu/armv7/tegra2/
? ? ? ?- Declare internal functions as static in UART code

Changes for V5:
? ? ? ?- Move arch/arm/cpu/armv7/uart.c & board.h to drivers/serial and ? ? ? ? ? ? ? ?rename to serial_tegra2.c
? ? ? ?- Remove use of uart_num & UART_A/D in serial_tegra2, simplify code

Changes for V6:
? ? ? ?- Fix uart.c add & delete in previous patchset
? ? ? ?- Move pinmux & clock init code to common board file as per review ? ? ? ?- Use #if defined() where possible in config files/UART code ? ? ? ?- Drop all typedef and volatile struct declarations in header files

Tom Warren (4):
?arm: Tegra2: Add basic NVIDIA Tegra2 SoC support ?serial: Add Tegra2 serial port support ?arm: Tegra2: Add support for NVIDIA Harmony board ?arm: Tegra2: Add support for NVIDIA Seaboard board

?MAINTAINERS ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? ?5 +
?arch/arm/cpu/armv7/tegra2/Makefile ? ? ? ? ? | ? 48 +++++++
?arch/arm/cpu/armv7/tegra2/board.c ? ? ? ? ? ?| ? 88 ++++++++++++
?arch/arm/cpu/armv7/tegra2/config.mk ? ? ? ? ?| ? 28 ++++
?arch/arm/cpu/armv7/tegra2/lowlevel_init.S ? ?| ? 65 +++++++++
?arch/arm/cpu/armv7/tegra2/sys_info.c ? ? ? ? | ? 35 +++++
?arch/arm/cpu/armv7/tegra2/timer.c ? ? ? ? ? ?| ?122 ++++++++++++++++
?arch/arm/include/asm/arch-tegra2/clk_rst.h ? | ?165 ++++++++++++++++++++++
?arch/arm/include/asm/arch-tegra2/pinmux.h ? ?| ? 55 ++++++++
?arch/arm/include/asm/arch-tegra2/pmc.h ? ? ? | ?124 +++++++++++++++++
?arch/arm/include/asm/arch-tegra2/sys_proto.h | ? 35 +++++
?arch/arm/include/asm/arch-tegra2/tegra2.h ? ?| ? 49 +++++++
?arch/arm/include/asm/arch-tegra2/uart.h ? ? ?| ? 47 ++++++
?board/nvidia/common/board.c ? ? ? ? ? ? ? ? ?| ?193 ++++++++++++++++++++++++++
?board/nvidia/harmony/Makefile ? ? ? ? ? ? ? ?| ? 50 +++++++
?board/nvidia/seaboard/Makefile ? ? ? ? ? ? ? | ? 50 +++++++
?boards.cfg ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? ?2 +
?common/serial.c ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? ?3 +-
?drivers/serial/Makefile ? ? ? ? ? ? ? ? ? ? ?| ? ?1 +
?drivers/serial/serial_tegra2.c ? ? ? ? ? ? ? | ? 77 ++++++++++
?drivers/serial/serial_tegra2.h ? ? ? ? ? ? ? | ? 29 ++++
?include/configs/harmony.h ? ? ? ? ? ? ? ? ? ?| ? 49 +++++++
?include/configs/seaboard.h ? ? ? ? ? ? ? ? ? | ? 43 ++++++
?include/configs/tegra2-common.h ? ? ? ? ? ? ?| ?160 +++++++++++++++++++++
?include/serial.h ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? ?3 +-

?25 files changed, 1524 insertions(+), 2 deletions(-) ?create mode 100644 arch/arm/cpu/armv7/tegra2/Makefile ?create mode 100644 arch/arm/cpu/armv7/tegra2/board.c ?create mode 100644 arch/arm/cpu/armv7/tegra2/config.mk ?create mode 100644 arch/arm/cpu/armv7/tegra2/lowlevel_init.S ?create mode 100644 arch/arm/cpu/armv7/tegra2/sys_info.c ?create mode 100644 arch/arm/cpu/armv7/tegra2/timer.c ?create mode 100644 arch/arm/include/asm/arch-tegra2/clk_rst.h ?create mode 100644 arch/arm/include/asm/arch-tegra2/pinmux.h ?create mode 100644 arch/arm/include/asm/arch-tegra2/pmc.h ?create mode 100644 arch/arm/include/asm/arch-tegra2/sys_proto.h ?create mode 100644 arch/arm/include/asm/arch-tegra2/tegra2.h ?create mode 100644 arch/arm/include/asm/arch-tegra2/uart.h ?create mode 100644 board/nvidia/common/board.c ?create mode 100644 board/nvidia/harmony/Makefile ?create mode 100644 board/nvidia/seaboard/Makefile ?create mode 100644 drivers/serial/serial_tegra2.c ?create mode 100644 drivers/serial/serial_tegra2.h ?create mode 100644 include/configs/harmony.h
?create mode 100644 include/configs/seaboard.h
?create mode 100644 include/configs/tegra2-common.h

--
1.7.3.5

--
Sincerely yours,
Mike.

#8 lore raw

v6 cover Add basic NVIDIA Tegra2 SoC support

Le 02/02/2011 18:06, Tom Warren a ?crit :

Quoted 7 lines

Mike,

Quoted 4 lines · Mike Rapoport
Quoted 3 lines · Tom Warren

I haven't seen any new feedback on this version (V6) of the patchset since it was posted.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Wolfgang, Mike, Peter, et al - are you happy with the current patch?

I'm Ok with the current patch.

Thanks, Mike. Appreciate your help.

Quoted 2 lines
Quoted 2 lines

If so, when can I expect it to be pushed?

Who has to push/accept/apply the patch? Wolfgang, or the ARM custodian?

That would be me. Wolfgang, since the V1 patch series predates the merge window close and you have not yet pulled in my request, do you accept that I take these patches in and re-send a pull request?

Amicalement,

Signature · 1 line
Albert.
#9 lore raw

v6 cover Add basic NVIDIA Tegra2 SoC support

Le 02/02/2011 19:44, Albert ARIBAUD a ?crit :

Quoted 11 lines

Le 02/02/2011 18:06, Tom Warren a ?crit :

Quoted 10 lines

Mike,

Quoted 7 lines · Mike Rapoport
Quoted 4 lines · Tom Warren

I haven't seen any new feedback on this version (V6) of the patchset since it was posted.

Wolfgang, Mike, Peter, et al - are you happy with the current patch?

I'm Ok with the current patch.

Quoted 8 lines
Quoted 4 lines

Thanks, Mike. Appreciate your help.

Quoted 2 lines
Quoted 2 lines

If so, when can I expect it to be pushed?

Who has to push/accept/apply the patch? Wolfgang, or the ARM custodian?

That would be me. Wolfgang, since the V1 patch series predates the merge window close and you have not yet pulled in my request, do you accept that I take these patches in and re-send a pull request?

Seeing as rc1 is out with my previous pull request pulled in:

Patchset applied to u-boot-arm (with trivial merge to boards.cfg), will send a new pull request today for rc2.

Amicalement,

Signature · 1 line
Albert.
author
#10 lore raw

v6 cover Add basic NVIDIA Tegra2 SoC support

Albert,

Quoted 28 lines · Albert ARIBAUD

Le 02/02/2011 19:44, Albert ARIBAUD a ?crit :

Quoted 19 lines

Le 02/02/2011 18:06, Tom Warren a ?crit :

Quoted 17 lines

Mike,

Quoted 9 lines · Mike Rapoport
Quoted 5 lines · Tom Warren

I haven't seen any new feedback on this version (V6) of the patchset since it was posted.

Wolfgang, Mike, Peter, et al - are you happy with the current patch?

I'm Ok with the current patch.

Thanks, Mike. Appreciate your help.

Quoted 1 line
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

If so, when can I expect it to be pushed?

Who has to push/accept/apply the patch? Wolfgang, or the ARM custodian?

That would be me. Wolfgang, since the V1 patch series predates the merge window close and you have not yet pulled in my request, do you accept that I take these patches in and re-send a pull request?

Quoted 9 lines

Seeing as rc1 is out with my previous pull request pulled in:

Patchset applied to u-boot-arm (with trivial merge to boards.cfg), ?will send a new pull request today for rc2.

Amicalement,
--
Albert.

Thank you.

Tom

#11 lore raw

v6 cover Add basic NVIDIA Tegra2 SoC support

In reply to Tom Warren
Quoted 7 lines · Tom Warren

Mike,

Quoted 4 lines · Mike Rapoport
Quoted 3 lines · Tom Warren

I haven't seen any new feedback on this version (V6) of the patchset since it was posted.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Wolfgang, Mike, Peter, et al - are you happy with the current patch?

I'm Ok with the current patch.

Thanks, Mike. Appreciate your help.

Quoted 2 lines
Quoted 2 lines

If so, when can I expect it to be pushed?

Who has to push/accept/apply the patch? Wolfgang, or the ARM custodian?

AFAIK, the ARM custodian

Quoted 107 lines

Thanks.

Quoted 106 lines
Quoted 100 lines

Thanks,

Tom

Quoted 94 lines · Tom Warren

This series of patches adds preliminary/baseline support for NVIDIA's Tegra2 SoC. Basic CPU (AVP), RAM and UART init are covered so that the system (Harmony or Seaboard) can boot to the U-Boot serial cmd prompt.

Further support (for Cortex-A9 CPU(s), USB, SD/MMC, etc.) to follow.

Changes for V2:
- Coding style cleanup
- Remove mach-types.h change; wait for ARM kernel sync-up
- Move serial driver changes to separate patch
- Use board/nvidia/ instead of /board/tegra
- Remove TRUE/FALSE defines
- Use standard NS16550 register/bit defines in UART init
- Change nv-common.h config file to tegra2-common.h

Changes for V3:
- Use I/O accessors for Tegra2 HW MMIO register access
- Allow conditional compile of UARTA/UARTD code to save space

Changes for V4:
- Use address of HW structs (&pmc, etc.) in readl/writel
- Remove empty lines, fix mixed case hex #s & comments in header(s)
- Move board/nvidia/common/board.c UART code & header to arch/arm/cpu/armv7/tegra2/
- Declare internal functions as static in UART code

Changes for V5:
- Move arch/arm/cpu/armv7/uart.c & board.h to drivers/serial and rename to serial_tegra2.c
- Remove use of uart_num & UART_A/D in serial_tegra2, simplify code

Changes for V6:
- Fix uart.c add & delete in previous patchset
- Move pinmux & clock init code to common board file as per review
- Use #if defined() where possible in config files/UART code
- Drop all typedef and volatile struct declarations in header files

Tom Warren (4):
arm: Tegra2: Add basic NVIDIA Tegra2 SoC support
serial: Add Tegra2 serial port support
arm: Tegra2: Add support for NVIDIA Harmony board
arm: Tegra2: Add support for NVIDIA Seaboard board

 MAINTAINERS                                  |    5 +
 arch/arm/cpu/armv7/tegra2/Makefile           |   48 +++++++
 arch/arm/cpu/armv7/tegra2/board.c            |   88 ++++++++++++
 arch/arm/cpu/armv7/tegra2/config.mk          |   28 ++++
 arch/arm/cpu/armv7/tegra2/lowlevel_init.S    |   65 +++++++++
 arch/arm/cpu/armv7/tegra2/sys_info.c         |   35 +++++
 arch/arm/cpu/armv7/tegra2/timer.c            |  122 ++++++++++++++++
 arch/arm/include/asm/arch-tegra2/clk_rst.h   |  165 ++++++++++++++++++++++
 arch/arm/include/asm/arch-tegra2/pinmux.h    |   55 ++++++++
 arch/arm/include/asm/arch-tegra2/pmc.h       |  124 +++++++++++++++++
 arch/arm/include/asm/arch-tegra2/sys_proto.h |   35 +++++
 arch/arm/include/asm/arch-tegra2/tegra2.h    |   49 +++++++
 arch/arm/include/asm/arch-tegra2/uart.h      |   47 ++++++
 board/nvidia/common/board.c                  |  193 ++++++++++++++++++++++++++
 board/nvidia/harmony/Makefile                |   50 +++++++
 board/nvidia/seaboard/Makefile               |   50 +++++++
 boards.cfg                                   |    2 +
 common/serial.c                              |    3 +-
 drivers/serial/Makefile                      |    1 +
 drivers/serial/serial_tegra2.c               |   77 ++++++++++
 drivers/serial/serial_tegra2.h               |   29 ++++
 include/configs/harmony.h                    |   49 +++++++
 include/configs/seaboard.h                   |   43 ++++++
 include/configs/tegra2-common.h              |  160 +++++++++++++++++++++
 include/serial.h                             |    3 +-
 25 files changed, 1524 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/tegra2/Makefile
 create mode 100644 arch/arm/cpu/armv7/tegra2/board.c
 create mode 100644 arch/arm/cpu/armv7/tegra2/config.mk
 create mode 100644 arch/arm/cpu/armv7/tegra2/lowlevel_init.S
 create mode 100644 arch/arm/cpu/armv7/tegra2/sys_info.c
 create mode 100644 arch/arm/cpu/armv7/tegra2/timer.c
 create mode 100644 arch/arm/include/asm/arch-tegra2/clk_rst.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/pinmux.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/pmc.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/sys_proto.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/tegra2.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/uart.h
 create mode 100644 board/nvidia/common/board.c
 create mode 100644 board/nvidia/harmony/Makefile
 create mode 100644 board/nvidia/seaboard/Makefile
 create mode 100644 drivers/serial/serial_tegra2.c
 create mode 100644 drivers/serial/serial_tegra2.h
 create mode 100644 include/configs/harmony.h
 create mode 100644 include/configs/seaboard.h
 create mode 100644 include/configs/tegra2-common.h

--
1.7.3.5

--
Sincerely yours,
Mike.

Signature · 2 lines
Sincerely yours,
Mike.