[U-Boot-Users] Placement Question

Wolfgang,
I have a question regarding the placement of a few source files within the U-Boot tree.
Currently, there is an ethernet driver called tsec.c and tsec.h in the cpu/mpc85xx/ directory. This is clearly not the correct place for it. I'd like to detemine where the correct place is.
This driver will be needed by the 85xx family of processors, and some new, not-yet-released processors that are in an entirely different family.
Rather than cloning the file, I am thinking that it probably belongs either in lib_ppc or drivers instead. As it is already conditionally present based on the symbol CONFIG_TSEC_ENET, placing it in one of these places won't affect the size of other images that don't need it.
Is one of these places the real right place? Is some other directory even better?
Thanks, jdl

Dear Jon,
in message 1094153264.337.63.camel@blarg.somerset.sps.mot.com you wrote:
Currently, there is an ethernet driver called tsec.c and tsec.h in the cpu/mpc85xx/ directory. This is clearly not the correct place for it. I'd like to detemine where the correct place is.
At the moment this is clearly the _correct_ place for it, as the 85xx is the only processor that supports such an interface.
This driver will be needed by the 85xx family of processors, and some new, not-yet-released processors that are in an entirely different family.
I see.
Rather than cloning the file, I am thinking that it probably belongs either in lib_ppc or drivers instead. As it is already
If there are other processors using the same driver, it should be moved to drivers as soon as support for such other processors gets added.
Best regards,
Wolfgang Denk

On Thu, 2004-09-02 at 15:02, Wolfgang Denk wrote:
Rather than cloning the file, I am thinking that it probably belongs either in lib_ppc or drivers instead. As it is already
If there are other processors using the same driver, it should be moved to drivers as soon as support for such other processors gets added.
OK, that sounds good. Thanks!
jdl
participants (2)
-
Jon Loeliger
-
Wolfgang Denk