[U-Boot-Users] Status LEDs status?

Wolfgang Denk wd at denx.de
Mon Jun 9 13:54:36 CEST 2003


In message <3EE46FBE.3020803 at intracom.gr> you wrote:
>
> Well the first thing we can do is removing
> the redundant code.
> 
> With the following patch I moved the status LED code
> from the cpu directories and placed it in the drivers
> directory.
> 
> The code for mpc8xx is the superset of both
> the 8260 and 5xx code, so this is the base for it.
> 
> Patch applies cleanly againt CVS and is tested to
> build in 8xx/8260/5xx configs that use LEDs.
> 
> What do you think?

This is exactly what I do NOT want.

I do not want tosee processor specific code  in  common  directories.
The  drivers/ directory is intended for general code that applies for
all CPUs.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Premature optimization is the root of all evil.         -- D.E. Knuth




More information about the U-Boot mailing list