Re: [PATCH 0/2] OMAP: convert boards that use SMSC911x to use gpmc-smsc911x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Mike Rapoport <mike.rapoport@xxxxxxxxx> [110419 14:32]:
> Hi Tony,
> 
> On Mon, Apr 18, 2011 at 2:21 PM, Tony Lindgren <tony@xxxxxxxxxxx> wrote:
> > * Mike Rapoport <mike@xxxxxxxxxxxxxx> [110417 01:21]:
> > Nice job Mike :)
> 
> There's a _lot_ of very similar code in different board files. If
> you'd like to I can try to create something like
> common-board-devices.c and move most of that code there. It's not the
> real consolidation Linus wanted, but at least all the copy-pasted
> device initialization code would be removed.

Yes please do if you can, that helps a lot. Also most beagle
related boards could probably have a common board-beagle.c file.

Eventually the board configuration will come from device tree.
But until that's available, we can consolidate the code within
arch/arm/*omap*/ as the common platform init functions will still
be needed with configuration coming from DT.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux