[U-Boot-Users] Adding support for a 'similar to existing' board

Wolfgang Denk wd at denx.de
Tue Feb 10 23:27:39 CET 2004


In message <536A1C579C92D71193CC0008C791B02E02DE106B at dlee08.itg.ti.com> you wrote:
> 
> I wish to add support for another TI OMAP1610 board which is code-wise very
> similar to the OMAP1610 Innovator. Would you please  suggest what is better
> - creating another directory structure for that board (which is probably
> technically correct), or adding  changes to the OMAP1610 Innovator's files
> with #ifdef's? The changes in code would be 10-15 lines at most.

You  probably  want  to  have  your  own   board   config   file   in
include/configs/;  if the changes in the board specific directory are
really that small some #ifdef's are OK.

Best regards,

Wolfgang Denk

-- 
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"One planet is all you get."




More information about the U-Boot mailing list