* Elvis Dowson <[email protected]> [100914 12:58]:
> 
> For example, I have a platform that is based on board-overo.c. Instead copy 
> pasting and creating a new board-overo-variant.c, if the core structures were 
> defined as classes, I could potentially inherit from the base overo board 
> definition, and add my own specific modifications. 

Uhh, let's leave c++ out of this..

You can already easily share most of the code among boards
by having multiple MACHINE entries in the board-*.c file.
See board-n8x0.c for example.

Then you can spend some effort to create common platform
device init code, see gpmc-*.c and hsmmc.c for examples.

Regards,

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

Reply via email to