Skip to contentSkip to conversation

MIPS: Add VCT board series support (Part 1/3)

PATCH New Stefan Roese 3 participants 5 messages Jan 21, 2009 – Jan 27, 2009

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/3 MIPS: Add VCT board series support (Part 1/3)

---
v3:
- Added USB EHCI support
- Added performance enhanced OneNAND read support

v2:
- Fixed issues in u-boot.lds mentioned by Andrew Dyer

 board/micronas/vct/Makefile        |   57 ++++++++
 board/micronas/vct/bcu.h           |  170 ++++++++++++++++++++++++
 board/micronas/vct/config.mk       |   31 +++++
 board/micronas/vct/dcgu.c          |  258 ++++++++++++++++++++++++++++++++++++
 board/micronas/vct/dcgu.h          |  179 +++++++++++++++++++++++++
 board/micronas/vct/ebi.c           |   48 +++++++
 board/micronas/vct/ebi.h           |   95 +++++++++++++
 board/micronas/vct/ebi_nor_flash.c |  131 ++++++++++++++++++
 board/micronas/vct/ebi_onenand.c   |  198 +++++++++++++++++++++++++++
 board/micronas/vct/ebi_smc911x.c   |   94 +++++++++++++
 10 files changed, 1261 insertions(+), 0 deletions(-)
 create mode 100644 board/micronas/vct/Makefile
 create mode 100644 board/micronas/vct/bcu.h
 create mode 100644 board/micronas/vct/config.mk
 create mode 100644 board/micronas/vct/dcgu.c
 create mode 100644 board/micronas/vct/dcgu.h
 create mode 100644 board/micronas/vct/ebi.c
 create mode 100644 board/micronas/vct/ebi.h
 create mode 100644 board/micronas/vct/ebi_nor_flash.c
 create mode 100644 board/micronas/vct/ebi_onenand.c
 create mode 100644 board/micronas/vct/ebi_smc911x.c
board/micronas/vct/Makefile new file +57 -0
new file mode 100644
index 0000000..2737ade
@@ -0,0 +1,57 @@
+#
+# (C) Copyright 2008 Stefan Roese <[email protected]>, DENX Software Engineering
+#
+# 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).a
+
+COBJS-y := $(BOARD).o
+COBJS-y += ebi.o
+COBJS-$(CONFIG_VCT_NOR) += ebi_nor_flash.o
+COBJS-$(CONFIG_VCT_ONENAND) += ebi_onenand.o
+COBJS-$(CONFIG_DRIVER_SMC911X) += ebi_smc911x.o smc_eeprom.o
+COBJS-y += gpio.o
+COBJS-y += top.o
+COBJS-$(CONFIG_USB_EHCI_VCT) += dcgu.o ehci.o scc.o
+
+COBJS	:= $(sort $(COBJS-y))
+SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS	:= $(addprefix $(obj),$(COBJS))
+SOBJS	:= $(addprefix $(obj),$(SOBJS))
+
+$(LIB):	$(OBJS) $(SOBJS)
+	$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
+
+clean:
+	rm -f $(SOBJS) $(OBJS)
+
+distclean:	clean
+	rm -f $(LIB) core *.bak $(obj).depend
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################
board/micronas/vct/bcu.h new file +170 -0

170 lines not on this page · raw message

board/micronas/vct/config.mk new file +31 -0
new file mode 100644
index 0000000..2a71dad
@@ -0,0 +1,31 @@
+#
+# (C) Copyright 2008 Stefan Roese <[email protected]>, DENX Software Engineering
+#
+# 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
+#
+
+#
+# vct_xxx boards with MIPS 4Kc CPU core
+#
+
+sinclude $(TOPDIR)/board/$(BOARDDIR)/config.tmp
+
+ifndef TEXT_BASE
+TEXT_BASE = 0x87000000
+endif
board/micronas/vct/dcgu.c new file +258 -0

258 lines not on this page · raw message

board/micronas/vct/dcgu.h new file +179 -0

179 lines not on this page · raw message

board/micronas/vct/ebi.c new file +48 -0

48 lines not on this page · raw message

board/micronas/vct/ebi.h new file +95 -0

95 lines not on this page · raw message

board/micronas/vct/ebi_nor_flash.c new file +131 -0

131 lines not on this page · raw message

board/micronas/vct/ebi_onenand.c new file +198 -0

198 lines not on this page · raw message

board/micronas/vct/ebi_smc911x.c new file +94 -0

94 lines not on this page · raw message

Signature · 1 line
1.6.1
#1 lore raw

PATCH v3 1/3 MIPS: Add VCT board series support (Part 1/3)

Quoted 22 lines · Stefan Roese

---
v3:
- Added USB EHCI support
- Added performance enhanced OneNAND read support

v2:
- Fixed issues in u-boot.lds mentioned by Andrew Dyer

 board/micronas/vct/Makefile        |   57 ++++++++
 board/micronas/vct/bcu.h           |  170 ++++++++++++++++++++++++
 board/micronas/vct/config.mk       |   31 +++++
 board/micronas/vct/dcgu.c          |  258 ++++++++++++++++++++++++++++++++++++
 board/micronas/vct/dcgu.h          |  179 +++++++++++++++++++++++++
 board/micronas/vct/ebi.c           |   48 +++++++
 board/micronas/vct/ebi.h           |   95 +++++++++++++
 board/micronas/vct/ebi_nor_flash.c |  131 ++++++++++++++++++
 board/micronas/vct/ebi_onenand.c   |  198 +++++++++++++++++++++++++++
 board/micronas/vct/ebi_smc911x.c   |   94 +++++++++++++
 10 files changed, 1261 insertions(+), 0 deletions(-)
 create mode 100644 board/micronas/vct/Makefile
 create mode 100644 board/micronas/vct/bcu.h
Quoted 8 lines
 create mode 100644 board/micronas/vct/config.mk
 create mode 100644 board/micronas/vct/dcgu.c
 create mode 100644 board/micronas/vct/dcgu.h
 create mode 100644 board/micronas/vct/ebi.c
 create mode 100644 board/micronas/vct/ebi.h
 create mode 100644 board/micronas/vct/ebi_nor_flash.c
 create mode 100644 board/micronas/vct/ebi_onenand.c
 create mode 100644 board/micronas/vct/ebi_smc911x.c

No objection from me, will apply.

Stefan, I'm going to fold all patches into sinble commit, ok?

#2 lore raw

PATCH v3 1/3 MIPS: Add VCT board series support (Part 1/3)

Quoted 3 lines · Shinya Kuribayashi

No objection from me, will apply.

Stefan, I'm going to fold all patches into sinble commit, ok?

That's ok with me. Not sure if Wolfgang has an objection though, since he might have problems tracking the status of the patches.

Wolfgang, an objections from you?

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================

#3 lore raw

PATCH v3 1/3 MIPS: Add VCT board series support (Part 1/3)

Dear Stefan Roese,

Quoted 9 lines · In message <[email protected]> you wrote:
Quoted 3 lines · Shinya Kuribayashi

No objection from me, will apply.

Stefan, I'm going to fold all patches into sinble commit, ok?

That's ok with me. Not sure if Wolfgang has an objection though, since he might have problems tracking the status of the patches.

Wolfgang, an objections from you?

Yes, indeed. I like to see commits matching patches as posted on the mailing list.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Wisdom is one of the few things that looks bigger the further away it
is.                               - Terry Pratchett, _Witches Abroad_
#4 lore raw

PATCH v3 1/3 MIPS: Add VCT board series support (Part 1/3)

Quoted 8 lines · Wolfgang Denk
Quoted 5 lines
Quoted 1 line

Stefan, I'm going to fold all patches into sinble commit, ok?

That's ok with me. Not sure if Wolfgang has an objection though, since he might have problems tracking the status of the patches.

Wolfgang, an objections from you?

Yes, indeed. I like to see commits matching patches as posted on the mailing list.

Ok, sorry for the noise. I'll send a pull request soon.

Shinya