Skip to contentSkip to conversation

PATCH MPC86xADS and MPC860FADS bug fixes

U-Boot-Users Nye Liu 2 participants 4 messages Jun 3, 2003 – Jun 9, 2003 2 messages not in the archive

lore
Share & tools
lore

Nye Liu

author
#2 lore raw
In reply to a message not in the archive
Quoted 5 lines · Wolfgang Denk

Right. Let's have separate #defines for the processors in case we need to really keep them apart (for example, to print a correct id string), and have some central header file which contains something like

Quoted 7 lines
	#if defined(MPC866P) || \
	    defined(MPC866T) || \
	    defined(MPC859T) || \
	    defined(MPC859DSL) || \
	    defined(MPC852T)
	#define MPC866_et_al
	#endif

I'm working on this now, where should i put this header file and what should I name it?

also, this patch is pretty important; typo in mpc8xx.h; you might want this in CVS (also cc'ing to the list):

Index: include/mpc8xx.h
===================================================================
RCS file: /cvsroot/u-boot/u-boot/include/mpc8xx.h,v retrieving revision 1.1.1.1

mpc8xx.h 3 Jun 2003 21:35:12 -0000 renamed from mpc8xx.h 17 Sep 2002 20:57:30 -0000 1.1.1.1 +1 -2
diff -u -w -b -B -r1.1.1.1 mpc8xx.h
@@ -367,7 +388,7 @@
 #define MAMR_G0CLB_A9  0x00006000      /* General Line 0 : A9 */  #define MAMR_G0CLB_A8  0x00008000      /* General Line 0 : A8 */  #define MAMR_G0CLB_A7  0x0000a000      /* General Line 0 : A7 */
-#define MAMR_G0CLB_A6  0x0000b000      /* General Line 0 : A6 */
+#define MAMR_G0CLB_A6  0x0000c000      /* General Line 0 : A6 */
 #define MAMR_G0CLB_A5  0x0000e000      /* General Line 0 : A5 */  #define MAMR_GPL_B4DIS 0x00001000      /* GPL_B4 ouput line Disable */
 #define MAMR_RLFB_MSK  0x00000f00      /* Read Loop Field B mask */
 
-- 

Nye Liu
nliu at mrv.com
(818) 772-6235x248

"Who would be stupid enough to quote a fictitious character?"
-- Don Quixote

#3 lore raw
Quoted 14 lines · In message <[email protected]> you wrote:
Quoted 5 lines · Wolfgang Denk

Right. Let's have separate #defines for the processors in case we need to really keep them apart (for example, to print a correct id string), and have some central header file which contains something like

Quoted 7 lines
	#if defined(MPC866P) || \
	    defined(MPC866T) || \
	    defined(MPC859T) || \
	    defined(MPC859DSL) || \
	    defined(MPC852T)
	#define MPC866_et_al
	#endif
Quoted 2 lines

I'm working on this now, where should i put this header file and what should I name it?

We have similar styuff already (for CONFIG_TQM8xxL) in
"include/common.h", o please add your stuff there, too.

Quoted 2 lines

also, this patch is pretty important; typo in mpc8xx.h; you might want this in CVS (also cc'ing to the list):

Added to local tree, will push to CVS later. Thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
You don't have to worry about me. I might have been born yesterday...
but I stayed up all night.
author
#4 lore raw
Quoted 15 lines · Wolfgang Denk
Quoted 14 lines · In message <[email protected]> you wrote:
Quoted 12 lines · Wolfgang Denk

Right. Let's have separate #defines for the processors in case we need to really keep them apart (for example, to print a correct id string), and have some central header file which contains something like

	#if defined(MPC866P) || \
	    defined(MPC866T) || \
	    defined(MPC859T) || \
	    defined(MPC859DSL) || \
	    defined(MPC852T)
	#define MPC866_et_al
	#endif
Quoted 5 lines
Quoted 2 lines

I'm working on this now, where should i put this header file and what should I name it?

We have similar styuff already (for CONFIG_TQM8xxL) in
"include/common.h", o please add your stuff there, too.

Ok. I've done this, but one unfortunate side effect is that things can't depend on MPC866_et_al in include/configs/[board].h ... the user will have to make sure things are correct for a given board. Opinions?

I'm getting close to another patch set, should be done by the end of the week (pending a few other unresolved issues, which I will summarize when im done).

also, the MAMR/MBMR -> MxMR patch set I will be putting off indefinitely, the amount of work involved in changing all the include/configs is pretty daunting.

warmest regards,
Nye

Signature · 6 lines
Nye Liu
nliu at mrv.com
(818) 772-6235x248

"Who would be stupid enough to quote a fictitious character?"
	-- Don Quixote
#5 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

Ok. I've done this, but one unfortunate side effect is that things can't depend on MPC866_et_al in include/configs/[board].h ... the user will have to make sure things are correct for a given board. Opinions?

Well, this seems acceptable: the user should ALWAYS make sure things are correct for a given board.

Quoted 3 lines

I'm getting close to another patch set, should be done by the end of the week (pending a few other unresolved issues, which I will summarize when im done).

Is there anything important in this patch set? I mean important enough to wait with the next release?

Quoted 3 lines

also, the MAMR/MBMR -> MxMR patch set I will be putting off indefinitely, the amount of work involved in changing all the include/configs is pretty daunting.

I have to admit that I'm not really surprised ;-)

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"One lawyer can steal more than a hundred men with guns."
- The Godfather