Skip to contentSkip to conversation

: General code modi [...]

PATCH New DENX Support System 1 participant 1 message Nov 2, 2006

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/10 : General code modi [...]

Hello list,

inside the automatic U-Boot patch tracking system a new ticket [DNX#2006110242000038] was created:

<snip>

Quoted 99 lines

General code modification for mpc7448hpc2 board support.

1. Add 7447A and 7448 processor support.
2. Add the following flags.

CFG_CONFIG_BUS_CLK : If the 74xx bus frequency can be configured dynamically (such as by switch on board), this flag should be set.

CFG_EXCEPTION_AFTER_RELOCATE: If an exception occurs after the u-boot relocates to RAM, this flag should be set

CFG_SERIAL_HANG_IN_EXCEPTION: If the print out function will cause the system hang in exception, this flag should be set

There is a design issue for tsi108/109 pci configure read. When pci scan the slots, if there is no pci card, the tsi108/9 will cause a machine check exception for mpc7448 processor.

---
 MAKEALL                       |    4 +--
 Makefile                      |    3 ++
 README                        |   22 ++++++++--------
 cpu/74xx_7xx/cpu.c            |   54
+++++++++++++++++++++++++++++++++++++---
 cpu/74xx_7xx/cpu_init.c       |    2 +
 cpu/74xx_7xx/speed.c          |   55
++++++++++++++++++++++++++++++++++++++---
 drivers/Makefile              |    6 ++--
 include/74xx_7xx.h            |    1 +
 include/asm-ppc/global_data.h |    3 ++
 lib_ppc/extable.c             |   10 +++++++
 10 files changed, 136 insertions(+), 24 deletions(-)
MAKEALL +2 -2
index 879a17f..812c006 100755
@@ -150,8 +150,8 @@ ## 74xx/7xx Systems
 #########################################################################
 
 LIST_74xx="	\
-	DB64360		DB64460		EVB64260	P3G4		\
-	PCIPPC2		PCIPPC6		ZUMA				\
+	DB64360		DB64460		EVB64260	mpc7448hpc2	\
+	P3G4    	PCIPPC2		PCIPPC6		ZUMA		\
 "
 
 LIST_7xx="	\
Makefile +3 -0
index 62dafc5..e2fb6fd 100644
@@ -1718,6 +1718,9 @@ EVB64260_config	\
 EVB64260_750CX_config:	unconfig
 	@$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
 
+mpc7448hpc2_config:  unconfig
+	@./mkconfig $(@:_config=) ppc 74xx_7xx mpc7448hpc2
+
 P3G4_config: unconfig
 	@$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
 
README +11 -11
index b78ea61..aa17e46 100644
@@ -2312,17 +2312,17 @@ configurations; the following names are 
 	csb272_config		lwmon_config		sbc8260_config
 	CU824_config		MBX860T_config		sbc8560_33_config
 	DUET_ADS_config		MBX_config		sbc8560_66_config
-	EBONY_config		MPC8260ADS_config	SM850_config
-	ELPT860_config		MPC8540ADS_config	SPD823TS_config
-	ESTEEM192E_config	MPC8540EVAL_config	stxgp3_config
-	ETX094_config		MPC8560ADS_config	SXNI855T_config
-	FADS823_config		NETVIA_config		TQM823L_config
-	FADS850SAR_config	omap1510inn_config	TQM850L_config
-	FADS860T_config		omap1610h2_config	TQM855L_config
-	FPS850L_config		omap1610inn_config	TQM860L_config
-				omap5912osk_config	walnut_config
-				omap2420h4_config	Yukon8220_config
-							ZPC1900_config
+	EBONY_config		mpc7448hpc2_config	SM850_config
+	ELPT860_config		MPC8260ADS_config	SPD823TS_config
+	ESTEEM192E_config	MPC8540ADS_config	stxgp3_config
+	ETX094_config		MPC8540EVAL_config	SXNI855T_config
+	FADS823_config		NMPC8560ADS_config	TQM823L_config
+	FADS850SAR_config	NETVIA_config		TQM850L_config
+	FADS860T_config		omap1510inn_config	TQM855L_config
+	FPS850L_config		omap1610h2_config	TQM860L_config
+				omap1610inn_config	walnut_config
+				omap5912osk_config	Yukon8220_config
+				omap2420h4_config	ZPC1900_config
 
 Note: for some board special configuration names may exist; check if
       additional information is available from the board vendor; for
cpu/74xx_7xx/cpu.c +0 -0
index ca45e17..c3aadca 100644

cpu/74xx_7xx/cpu.c

Quoted 1 line
cpu/74xx_7xx/cpu.c +0 -1
--- a/cpu/74xx_7xx/cpu.c

</snip>

Your U-Boot support team