FW: Code Clean-Up

Tom Rini trini at kernel.crashing.org
Tue Apr 27 07:22:20 EST 2004


On Mon, Apr 26, 2004 at 02:50:24PM -0400, Andrew Williams wrote:

> What's the current view/policy on code cleanup?
> Eg. immap_8260.h vs 8xx_immap.h
>
>   Furthermore each unit that accesses the immap, has to conditionaly select
> the target platform header file.
>
> I'm proposing a single immap.h file, that conditionaly selects either
> immap_8260.h, or 8xx_immap.h (possibly renamed to immap_8xx.h).
>
>   Do people want to see this type of restructure/patch?

Do you have code which works on both 82xx (or looking at 'newer' code in
2.4, soon to be in 2.6, 'cpm2' which is 82xx/85xx) and 8xx ?

--
Tom Rini
http://gate.crashing.org/~trini/

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





More information about the Linuxppc-embedded mailing list