mpc83xx: Add support for MPC8349 esd caddy2
PATCH 1/1 mpc83xx: Add support for MPC8349 esd caddy2
From: Reinhard Arlt <[email protected]>
The caddy2 is a variant of the already supported vme8349. So we just add the differences to this board port. To better support those two boards we switched from fixed SDRAM configuration to usage of spd_sdram(). This is done by providing a board specific SPD EEPROM routine with different values for both boards.
--- MAINTAINERS | 1 + MAKEALL | 1 + Makefile | 8 ++- board/esd/vme8349/vme8349.c | 200 ++++++++++++++++++++++++++++++------------ include/configs/vme8349.h | 90 +++++++++++--------- 5 files changed, 201 insertions(+), 99 deletions(-)
MAINTAINERS +1 -0
@@ -36,6 +36,7 @@ Reinhard Arlt <[email protected]> mecp5200 MPC5200 pf5200 MPC5200 + caddy2 MPC8349 vme8349 MPC8349 CPCI750 PPC750FX/GX
MAKEALL +1 -0
@@ -358,6 +358,7 @@ LIST_8260=" \ ######################################################################### LIST_83xx=" \ + caddy2 \ kmeter1 \ MPC8313ERDB_33 \ MPC8313ERDB_NAND_66 \
Makefile +7 -1
@@ -2429,8 +2429,14 @@ SIMPC8313_SP_config: unconfig TQM834x_config: unconfig @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x tqc +caddy2_config \ vme8349_config: unconfig - @$(MKCONFIG) $(@:_config=) ppc mpc83xx vme8349 esd + @mkdir -p $(obj)include + @if [ "$(findstring caddy2,$@)" ] ; then \ + $(XECHO) -n "...for VME-Caddy/2..." ; \ + echo "#define VME_CADDY2" >> $(obj)include/config.h ; \ + fi ; + @$(MKCONFIG) -a vme8349 ppc mpc83xx vme8349 esd ######################################################################### ## MPC85xx Systems
board/esd/vme8349/vme8349.c +143 -57
233 lines not on this page · raw message
include/configs/vme8349.h +49 -41
173 lines not on this page · raw message
Signature · 1 line
1.6.6.rc1
Kim Phillips
AppliedPATCH 1/1 mpc83xx: Add support for MPC8349 esd caddy2
Quoted 8 lines · On Tue, 8 Dec 2009 09:13:08 +0100 Stefan Roese <[email protected]> wrote:
From: Reinhard Arlt <[email protected]>
The caddy2 is a variant of the already supported vme8349. So we just add the differences to this board port. To better support those two boards we switched from fixed SDRAM configuration to usage of
spd_sdram(). This is done by providing a board specific SPD EEPROM routine with different values for both boards.
Quoted 4 lines
Signed-off-by Reinhard Arlt <[email protected]>Signed-off-by Stefan Roese <[email protected]>Cc Kim Phillips <[email protected]>---
applied, with the below fixes merged into the same commit.
Thanks,
Kim