diff options
author | wdenk <wdenk> | 2001-04-23 22:19:40 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2001-04-23 22:19:40 +0000 |
commit | b631bb9cad6b5553846f508fbfa5ba6362fb0677 (patch) | |
tree | 4f08cd11cad295cc35cbf966c6db5a753994e5eb /board | |
parent | a6840a6ede9db4372b4b84b2485cefd0979b44a4 (diff) |
Initial revision
Diffstat (limited to 'board')
-rw-r--r-- | board/rpxsuper/Makefile | 46 | ||||
-rw-r--r-- | board/rpxsuper/config.mk | 34 | ||||
-rw-r--r-- | board/rpxsuper/rpxsuper.h | 25 |
3 files changed, 105 insertions, 0 deletions
diff --git a/board/rpxsuper/Makefile b/board/rpxsuper/Makefile new file mode 100644 index 000000000..85ea1fcc9 --- /dev/null +++ b/board/rpxsuper/Makefile @@ -0,0 +1,46 @@ +# +# (C) Copyright 2000 +# Wolfgang Denk, DENX Software Engineering, wd@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 = lib$(BOARD).a + +OBJS := rpxsuper.o flash.o mii_phy.o + +$(LIB): $(OBJS) $(SOBJS) + $(AR) crv $@ $^ + +clean: + rm -f $(SOBJS) $(OBJS) + +distclean: clean + rm -f $(LIB) core *.bak .depend + +######################################################################### + +.depend: Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c) + $(CC) -M $(CPPFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c) > $@ + +-include .depend + +######################################################################### diff --git a/board/rpxsuper/config.mk b/board/rpxsuper/config.mk new file mode 100644 index 000000000..4b8c5d31f --- /dev/null +++ b/board/rpxsuper/config.mk @@ -0,0 +1,34 @@ +# +# (C) Copyright 2000 +# Sysgo Real-Time Solutions, GmbH <www.elinos.com> +# Marius Groeger <mgroeger@sysgo.de> +# +# (C) Copyright 2000 +# Wolfgang Denk, DENX Software Engineering, wd@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 +# + +# +# MBX8xx boards +# + +TEXT_BASE = 0x80F00000 + +PLATFORM_CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -I$(TOPDIR)/board diff --git a/board/rpxsuper/rpxsuper.h b/board/rpxsuper/rpxsuper.h new file mode 100644 index 000000000..af31060a7 --- /dev/null +++ b/board/rpxsuper/rpxsuper.h @@ -0,0 +1,25 @@ +#ifndef __RPX8260_H__ +#define __RPX8260_H__ + +typedef struct tt_rpx_regs +{ + volatile unsigned char bcsr0; + volatile unsigned char bcsr1; + volatile unsigned char bcsr2; + volatile unsigned char bcsr3; + volatile unsigned char bcsr4; + volatile unsigned char bcsr5; + volatile unsigned char bcsr6; + volatile unsigned char bcsr7; + volatile unsigned char bcsr8; + volatile unsigned char bcsr9; + volatile unsigned char bcsr10; + volatile unsigned char bcsr11; + volatile unsigned char bcsr12; + volatile unsigned char bcsr13; + volatile unsigned char bcsr14; + volatile unsigned char bcsr15; +} t_rpx_regs; +typedef t_rpx_regs* tp_rpx_regs; + +#endif |