Simple definition of a new board
Is it OK/possible to add a new board, by just doing a new "<board>.h" file and a modification of the Makefile?
An example of use would be to have a board with different memory types and each <board>.h would be used to tell where the U-boot environment variables are.
The AT91SAM9260EK has both dataflash and NAND flash and some would like to put the environment in NAND flash and others in the dataflash.
Best Regards
Ulf Samuelsson
Quoted 2 lines · In message <[email protected]> you wrote:
Is it OK/possible to add a new board, by just doing a new "<board>.h" file and a modification of the
Makefile?
Yes.
Quoted 3 lines
An example of use would be to have a board with different memory types and each <board>.h would be used to tell where the U-boot environment variables are.
You might even use just one board.h file and different make targets which provide an additional #define that you can evaluate.
Just don't add to much of "scripting" to the Makefile; I am still agry with myself that I agreed to such a mess like the TQM82xx_?? configurations.
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Deliver yesterday, code today, think tomorrow."