
10 Feb
2004
10 Feb
'04
11:27 p.m.
In message 536A1C579C92D71193CC0008C791B02E02DE106B@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@denx.de
"One planet is all you get."