diff options
| author | Tom Warren <twarren.nvidia@gmail.com> | 2011-01-27 10:58:08 +0000 | 
|---|---|---|
| committer | Albert Aribaud <albert.aribaud@free.fr> | 2011-02-21 08:30:55 +0100 | 
| commit | ee4bbbcb655607bb450f89cc026745596259b63c (patch) | |
| tree | 14c5f2f3b98e864058afdd7d812278862f58ecb3 | |
| parent | efc05ae13196e8ceaeff91a146168489c5d8cee5 (diff) | |
| download | olio-uboot-2014.01-ee4bbbcb655607bb450f89cc026745596259b63c.tar.xz olio-uboot-2014.01-ee4bbbcb655607bb450f89cc026745596259b63c.zip | |
arm: Tegra2: Add support for NVIDIA Seaboard board
Signed-off-by: Tom Warren <twarren@nvidia.com>
| -rw-r--r-- | MAINTAINERS | 1 | ||||
| -rw-r--r-- | board/nvidia/seaboard/Makefile | 50 | ||||
| -rw-r--r-- | boards.cfg | 1 | ||||
| -rw-r--r-- | include/configs/seaboard.h | 43 | 
4 files changed, 95 insertions, 0 deletions
| diff --git a/MAINTAINERS b/MAINTAINERS index 9de52d60a..43d40056c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -861,6 +861,7 @@ Prafulla Wadaskar <prafulla@marvell.com>  Tom Warren <twarren@nvidia.com>  	harmony		Tegra2 (ARM7 & A9 Dual Core) +	seaboard	Tegra2 (ARM7 & A9 Dual Core)  Matthias Weisser <weisserm@arcor.de> diff --git a/board/nvidia/seaboard/Makefile b/board/nvidia/seaboard/Makefile new file mode 100644 index 000000000..3a146cb9c --- /dev/null +++ b/board/nvidia/seaboard/Makefile @@ -0,0 +1,50 @@ +# +#  (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 $(TOPDIR)/config.mk + +LIB	= $(obj)lib$(BOARD).o + +COBJS	+= ../common/board.o + +SRCS	:= $(COBJS:.o=.c) +OBJS	:= $(addprefix $(obj),$(COBJS)) + +$(LIB):	$(obj).depend $(OBJS) +	$(AR) $(ARFLAGS) $@ $(OBJS) + +clean: +	rm -f $(OBJS) + +distclean:	clean +	rm -f $(LIB) core *.bak $(obj).depend + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/boards.cfg b/boards.cfg index b7209f96d..a64e47880 100644 --- a/boards.cfg +++ b/boards.cfg @@ -128,6 +128,7 @@ s5p_goni                     arm         armv7       goni                samsung  smdkc100                     arm         armv7       smdkc100            samsung        s5pc1xx  s5pc210_universal            arm         armv7       universal_c210      samsung        s5pc2xx  harmony                      arm         armv7       harmony             nvidia         tegra2 +seaboard                     arm         armv7       seaboard            nvidia         tegra2  actux1                       arm         ixp  actux2                       arm         ixp  actux3                       arm         ixp diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h new file mode 100644 index 000000000..fd8756070 --- /dev/null +++ b/include/configs/seaboard.h @@ -0,0 +1,43 @@ +/* + *  (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 __CONFIG_H +#define __CONFIG_H + +#include <asm/sizes.h> +#include "tegra2-common.h" + +/* High-level configuration options */ +#define TEGRA2_SYSMEM		"mem=384M@0M nvmem=128M@384M mem=512M@512M" +#define V_PROMPT		"Tegra2 (SeaBoard) # " +#define CONFIG_TEGRA2_BOARD_STRING	"NVIDIA Seaboard" + +/* Board-specific serial config */ +#define CONFIG_SERIAL_MULTI +#define CONFIG_TEGRA2_ENABLE_UARTD +#define CONFIG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE + +#define CONFIG_MACH_TYPE		MACH_TYPE_TEGRA_SEABOARD +#define CONFIG_SYS_BOARD_ODMDATA	0x300d8011 /* lp1, 1GB */ + +#endif /* __CONFIG_H */ |