Skip to contentSkip to conversation

Adding EP2500 MCF5282 board [PATCH]

U-Boot Michael Durrant 1 participant 2 messages Jan 19, 2010 – Jan 20, 2010 Kbuild

lore
Share & tools
lore
#0 lore raw

This patch set created against u-boot-2009.11 release

Mercury-EP2500.patch
- added Mercury EP2500 board support

CREDITS.patch

--
Michael Durrant
mdurrant at arcturusnetworks.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: CREDITS.patch
Type: application/octet-stream
Size: 565 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100119/be29a1b2/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mercury-EP2500.patch
Type: application/octet-stream
Size: 22964 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100119/be29a1b2/attachment-0001.obj

#1 lore raw

[U-Boot] Adding EP2500 MCF5282 board [PATCH] -- resent in git format

Mercury-EP2500.patch
- added Mercury's EP2500 board uses the mcf5282 processor

CREDITS.patch

---
 CREDITS                |    5 +++++
 Makefile               |    3 +++
 cpu/mcf52x2/cpu_init.c |   11 +++++++++++
 3 files changed, 19 insertions(+), 0 deletions(-)
CREDITS +5 -0
index 2471029..043ba6e 100644
@@ -511,6 +511,11 @@ N: Martin Winistoerfer
 E: martinwinistoerfer at gmx.ch
 D: Port to MPC555/556 microcontrollers and support for cmi board
 
+N: David Wu
+E: support at arcturusnetworks.com
+D: Mercury Security EP2500
+W: http://www.arcturusnetworks.com
+
 N: Ming-Len Wu
 E: minglen_wu at techware.com.tw
 D: Motorola MX1ADS board support
Makefile +0 -0
index 1ab197b..9de721b 100644
@@ -2062,6 +2062,9 @@ EB+MCF-EV123_internal_config :    unconfig
     @echo "TEXT_BASE = 0xF0000000"|tee

$(obj)board/BuS/EB+MCF-EV123/textbase.mk

     @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS

+EP2500_config: unconfig
+ @$(MKCONFIG) $(@:_config=) m68k mcf52x2 ep2500 Mercury
+
idmr_config : unconfig

     @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
cpu/mcf52x2/cpu_init.c +11 -0
index 7cea655..5b06930 100644
@@ -5,6 +5,8 @@
  * MCF5282 additionals
  * (C) Copyright 2005
  * BuS Elektronik GmbH & Co. KG <[email protected]>
+ * (c) Copyright 2010
+ * Arcturus Networks Inc. <www.arcturusnetworks.com>
  *
  * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew at freescale.com)
@@ -582,6 +584,12 @@ void cpu_init_f(void)
 #ifdef CONFIG_SYS_PTCPAR
     MCFGPIO_PTCPAR = CONFIG_SYS_PTCPAR;
 #endif
+#if defined(CONFIG_SYS_PORTTC)
+    MCFGPIO_PORTTC = CONFIG_SYS_PORTTC;
+#endif
+#if defined(CONFIG_SYS_DDRTC)
+    MCFGPIO_DDRTC  = CONFIG_SYS_DDRTC;
+#endif
 #ifdef CONFIG_SYS_PTDPAR
     MCFGPIO_PTDPAR = CONFIG_SYS_PTDPAR;
 #endif
@@ -589,6 +597,9 @@ void cpu_init_f(void)
     MCFGPIO_PUAPAR = CONFIG_SYS_PUAPAR;
 #endif
 
+#if defined(CONFIG_SYS_DDRD)
+    MCFGPIO_DDRD = CONFIG_SYS_DDRD;
+#endif
 #ifdef CONFIG_SYS_DDRUA
     MCFGPIO_DDRUA = CONFIG_SYS_DDRUA;
 #endif

-- 1.4.3.4