mpc83xx: Add esd VME8349 board support
PATCH v3 1/1 mpc83xx: Add esd VME8349 board support
From: Reinhard Arlt <[email protected]>
This patch adds support for the esd VME8349 board equipped with the MPC8349. It's a VME PMC carrier board equipped with the Tundra TSI148 VME-bridge.
---
v3:
- code cleanup in switch statement in caddy.c as suggested by Wolfgang
- defines instead of hex numbers for SDRAM setup used
- too long lines fixed
- dead code removed
- serverip/gatewayip from config header removed
- Freescales PCI vendor ID used
v2:
- respect the original copyright holder(s)
- typedefs in caddy.h removed
- aduc.c removed
- memset used
- converted to use 83XX_GENERIC_PCI code
- CONFIG_SYS_SICRH set to 0
- hardcoded MAC and IP addresses removed
MAINTAINERS | 2 + MAKEALL | 1 + Makefile | 2 + board/esd/vme8349/Makefile | 54 ++++ board/esd/vme8349/caddy.c | 194 ++++++++++++++ board/esd/vme8349/caddy.h | 77 ++++++ board/esd/vme8349/config.mk | 28 ++ board/esd/vme8349/pci.c | 119 +++++++++ board/esd/vme8349/vme8349.c | 140 ++++++++++ drivers/pci/pci_auto.c | 2 +- include/configs/vme8349.h | 609 +++++++++++++++++++++++++++++++++++++++++++ 11 files changed, 1227 insertions(+), 1 deletions(-) create mode 100644 board/esd/vme8349/Makefile create mode 100644 board/esd/vme8349/caddy.c create mode 100644 board/esd/vme8349/caddy.h create mode 100644 board/esd/vme8349/config.mk create mode 100644 board/esd/vme8349/pci.c create mode 100644 board/esd/vme8349/vme8349.c create mode 100644 include/configs/vme8349.h
MAINTAINERS +2 -0
@@ -32,6 +32,8 @@ Reinhard Arlt <[email protected]> mecp5200 MPC5200 pf5200 MPC5200 + vme8349 MPC8349 + CPCI750 PPC750FX/GX Yuli Barcohen <[email protected]>
MAKEALL +1 -0
@@ -362,6 +362,7 @@ LIST_83xx=" \ sbc8349 \ SIMPC8313_LP \ TQM834x \ + vme8349 \ "
Makefile +2 -0
@@ -2371,6 +2371,8 @@ SIMPC8313_SP_config: unconfig TQM834x_config: unconfig @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x tqc +vme8349_config: unconfig + @$(MKCONFIG) $(@:_config=) ppc mpc83xx vme8349 esd ######################################################################### ## MPC85xx Systems
board/esd/vme8349/Makefile new file +54 -0
54 lines not on this page · raw message
board/esd/vme8349/caddy.c new file +194 -0
194 lines not on this page · raw message
board/esd/vme8349/caddy.h new file +77 -0
77 lines not on this page · raw message
board/esd/vme8349/config.mk new file +28 -0
@@ -0,0 +1,28 @@ +# +# (C) Copyright 2006 +# 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 +# + +# +# VME8349E +# + +TEXT_BASE = 0xFFF00000
board/esd/vme8349/pci.c new file +119 -0
119 lines not on this page · raw message
board/esd/vme8349/vme8349.c new file +140 -0
140 lines not on this page · raw message
drivers/pci/pci_auto.c +1 -1
@@ -403,7 +403,7 @@ int pciauto_config_device(struct pci_controller *hose, pci_dev_t dev) PCI_DEV(dev));break ;#endif -#ifdef CONFIG_MPC834x +#if defined(CONFIG_MPC834x) && !defined(CONFIG_VME8349 )case PCI_CLASS_BRIDGE_OTHER :/* * The host/PCI bridge 1 seems broken in 8349 - it presents
include/configs/vme8349.h new file +609 -0
609 lines not on this page · raw message
Signature · 1 line
1.6.3.3
PATCH v3 1/1 mpc83xx: Add esd VME8349 board support
Quoted 6 lines · On Sat, 25 Jul 2009 06:19:12 +0200 Stefan Roese <[email protected]> wrote:
From: Reinhard Arlt <[email protected]>
This patch adds support for the esd VME8349 board equipped with the MPC8349. It's a VME PMC carrier board equipped with the Tundra TSI148 VME-bridge.
Quoted 6 lines
Signed-off-by Reinhard Arlt <[email protected]>Signed-off-by Stefan Roese <[email protected]>Cc Kim Phillips <[email protected]>---
+#define
CONFIG_83XX_GENERIC_PCI
applied after taking this line out (one only has to CONFIG_PCI now).
Kim