Re: can the 8xx patch configuration be made more comprehensible?

2 messages, 2 authors, 2004-07-21 · open the first message on its own page

Re: can the 8xx patch configuration be made more comprehensible?

From: Wolfgang Denk <hidden>
Date: 2004-07-21 12:59:16

In message [off-list ref] you wrote:
   does it really have to be this painful?  a number of simple
questions:

* how many patches are there?
There are least 3 that are relevant here:

- MPC850 microcode patch for relocating I2C/SPI parameters.
- MPC860 microcode patch for relocating I2C/SPI parameters
  (to be used with MPC823, MPC855, ... as well; yes, here the
  823 is NOT in the same group as the 850)
- MPC823 (and 850?) patch for automatic USB start-of-frame (SOF)
  token generation
* which ones can be selected independently from the others?  and can
   they be made separate selections in the config menu?  (does it even
   make sense to select only some of the possible patches?)
Depending on the  processor  model  and  requirements  you  may  need
patches 1, 1+3, 2, 2+3, or 3.
* and can they be documented so the builder knows what the purpose of
   the patch is?
They can (like in our CVS tree :-)
* and can the SMC patch be moved out of the source file and made a
   config-time selection along with the others (might be difficult
   given the necessity of editing the uart driver file).
Of course this can be done.
anyway, you get the idea.
How about submitting a patch?

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
No one wants war.
	-- Kirk, "Errand of Mercy", stardate 3201.7

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: can the 8xx patch configuration be made more comprehensible?

From: Robert P. J. Day <hidden>
Date: 2004-07-21 13:17:59

On Wed, 21 Jul 2004, Wolfgang Denk wrote:
There are least 3 that are relevant here:

- MPC850 microcode patch for relocating I2C/SPI parameters.
- MPC860 microcode patch for relocating I2C/SPI parameters
   i can see that, in the 2.6 arch/ppc/8xx_io/micropatch.c file, there
is a test for the macro USE_IIC_PATCH.  now, back in wolfgang's 2.4.25
source tree, that macro is defined in include/asm-ppc/commproc.h
thusly:

#ifdef CONFIG_UCODE_PATCH
# define USE_IIC_PATCH
#else
# undef  USE_IIC_PATCH
#endif

   however, in the 2.6 tree, i see nowhere that that macro could
possibly be set, so it seems that any tests for USE_IIC_PATCH in the
2.6 tree are irrelevant, no?

rday

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help