Skip to contentSkip to conversation

Subject: [PATCH] ppc4xx: Add DL-Vision 405EP board support

PATCH Superseded Dirk Eibach 2 participants 2 messages Jul 10, 2009 Kbuild

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Subject: [PATCH] ppc4xx: Add DL-Vision 405EP board support

Board support for the Guntermann & Drunck DL-Vision.

---
 MAINTAINERS                     |    1 +
 MAKEALL                         |    1 +
 Makefile                        |    3 +
 board/gdsys/dlvision/Makefile   |   51 +++++++++
 board/gdsys/dlvision/config.mk  |   24 ++++
 board/gdsys/dlvision/dlvision.c |  134 +++++++++++++++++++++++
 board/gdsys/dlvision/u-boot.lds |  132 +++++++++++++++++++++++
 include/configs/dlvision.h      |  221 +++++++++++++++++++++++++++++++++++++++
 8 files changed, 567 insertions(+), 0 deletions(-)
 create mode 100644 board/gdsys/dlvision/Makefile
 create mode 100644 board/gdsys/dlvision/config.mk
 create mode 100644 board/gdsys/dlvision/dlvision.c
 create mode 100644 board/gdsys/dlvision/u-boot.lds
 create mode 100644 include/configs/dlvision.h
MAINTAINERS +1 -0
index 0041112..5d8440f 100644
@@ -135,6 +135,7 @@ Jon Diekema <[email protected]>
 
 Dirk Eibach <[email protected]>
 
+	dlvision        PPC405EP
 	gdppc440etx	PPC440EP/GR
 	neo		PPC405EP
 
MAKEALL +1 -0
index 41f1445..8ad7cbd 100755
@@ -193,6 +193,7 @@ LIST_4xx="		\
 	csb272		\
 	csb472		\
 	DASA_SIM	\
+	dlvision	\
 	DP405		\
 	DU405		\
 	DU440		\
Makefile +3 -0
index 2a06440..fda7364 100644
@@ -1324,6 +1324,9 @@ csb472_config:	unconfig
 DASA_SIM_config: unconfig
 	@$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
 
+dlvision_config: unconfig
+	@$(MKCONFIG) $(@:_config=) ppc ppc4xx dlvision gdsys
+
 DP405_config:	unconfig
 	@$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
 
board/gdsys/dlvision/Makefile new file +51 -0

51 lines not on this page · raw message

board/gdsys/dlvision/config.mk new file +24 -0
new file mode 100644
index 0000000..1bdf5e4
@@ -0,0 +1,24 @@
+#
+# (C) Copyright 2000
+# 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
+#
+
+TEXT_BASE = 0xFFFC0000
board/gdsys/dlvision/dlvision.c new file +134 -0

134 lines not on this page · raw message

board/gdsys/dlvision/u-boot.lds new file +132 -0

132 lines not on this page · raw message

include/configs/dlvision.h new file +221 -0

221 lines not on this page · raw message

Signature · 1 line
1.5.6.5
#1 lore raw

PATCH 1/1 Subject: [PATCH] ppc4xx: Add DL-Vision 405EP board support

Dear Dirk Eibach,

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

Board support for the Guntermann & Drunck DL-Vision.

...

Quoted 5 lines
include/configs/dlvision.h new file +0 -0
new file mode 100644
index 0000000..232ebbd

...

include/configs/dlvision.h line 27

Quoted 4 lines
include/configs/dlvision.h new file +4 -0
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+

One blank line only, please.

...

include/configs/dlvision.h line 88

Quoted 9 lines
include/configs/dlvision.h new file +9 -0
+/*
+ * SDRAM configuration (please see cpu/ppc/sdram.[ch])
+ */
+#define CONFIG_SDRAM_BANK0	1	/* init onboard SDRAM bank 0 */
+
+/* SDRAM timings used in datasheet */
+#define CONFIG_SYS_SDRAM_CL             3	/* CAS latency */
+#define CONFIG_SYS_SDRAM_tRP           20	/* PRECHARGE command period */
+#define CONFIG_SYS_SDRAM_tRC           66	/* ACTIVE-to-ACTIVE command period */

Line too long.

include/configs/dlvision.h line 95

Quoted 7 lines
include/configs/dlvision.h new file +7 -0
+#define CONFIG_SYS_SDRAM_tRCD          20	/* ACTIVE-to-READ delay */
+#define CONFIG_SYS_SDRAM_tRFC          66	/* Auto refresh period */
+
+/*
+ * If CONFIG_SYS_EXT_SERIAL_CLOCK, then the UART divisor is 1.
+ * If CONFIG_SYS_405_UART_ERRATA_59, then UART divisor is 31.
+ * Otherwise, UART divisor is determined by CPU Clock and CONFIG_SYS_BASE_BAUD value.

Line too long (more too long lines elsewhere, please fix globally)

Best regards,

Wolfgang Denk

Signature · 4 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
If you hear an onion ring, answer it.