[U-Boot-Users] Re: PATCH MPC86xADS and MPC860FADS bug fixes

Nye Liu nyet at mrv.com
Tue Jun 3 23:58:54 CEST 2003


On Tue, Jun 03, 2003 at 11:43:36PM +0200, Wolfgang Denk wrote:
> 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

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
diff -u -w -b -B -r1.1.1.1 mpc8xx.h
--- include/mpc8xx.h    17 Sep 2002 20:57:30 -0000      1.1.1.1
+++ include/mpc8xx.h    3 Jun 2003 21:35:12 -0000
@@ -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




More information about the U-Boot mailing list