From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Wed, 1 Apr 2009 09:22:44 +0200 Subject: [U-Boot] [PATCH 10/13] at91: move usb driver to drivers/usb In-Reply-To: <3efb10970904010025u5ea748c3w8be6990f8527ea66@mail.gmail.com> References: <1238193026-12564-2-git-send-email-plagnioj@jcrosoft.com> <20090331192117.GF24923@game.jcrosoft.org> <20090331203822.60DED83797DC@gemini.denx.de> <200904010855.55698.sr@denx.de> <3efb10970904010025u5ea748c3w8be6990f8527ea66@mail.gmail.com> Message-ID: <20090401072244.GA23893@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09:25 Wed 01 Apr , Remy Bohmer wrote: > Hello Stefan, > > > From what I remember we all agreed to move the device drivers (e.g. ethernet, > > NAND, USB, serial etc) from the architecture/board (cpu/... board/...) to the > > drivers directories at some time. > > > > Speaking for PPC4xx, the 4xx ethernet driver has recently been moved from > > cpu/ppc4xx to drivers/net. And I'm planning to move the 4xx NAND driver (and > > others) soon too. > > > > So if this atmel_usb.c driver isn't just platform USB init code, but a real > > USB driver, then I'm voting to move it to drivers/usb as well. > > And that is exactly the issue here. The discussion is about moving > 'platform USB init code' to generic driver code. > I would have no problems with moving real USB drivers to the generic > driver section, if they are cleaned from board specific code, of > course. in our case it's not a cpu specify init but an IP init which is share to multiple soc for multiple arch Best Regards, J.