
On Saturday 10 February 2007 02:15, Wolfgang Denk wrote:
I think a good place for any driver stuff which is useable both by at91 and ap7xxx chips could be an board/atmel/drivers directory.
No. Not board/... if you are talking about chip specific features.
An alternative would be a cpu/atmel/drivers directory.
or cpu/atmel/ (without the /drivers part), like we do for other processors.
I really prefer to "collect" the drivers in the "drivers" directory (or a subdirectory). We already do this (Freescale Quicc Engine "drivers/qe"), and we have something like "drivers/netarm_eth.c".
So especially for driver that can be used by more than one cpu platform, I suggest to put them into the drivers directory (or subdirectory) and _not_ create another directory instead.
Best regards, Stefan
===================================================================== DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk Office: Kirchenstr. 5, D-82194 Groebenzell, Germany =====================================================================