All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Simple definition of a new board
@ 2007-01-08 22:07 Ulf Samuelsson
  2007-01-08 23:02 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Ulf Samuelsson @ 2007-01-08 22:07 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] Simple definition of a new board
  2007-01-08 22:07 [U-Boot-Users] Simple definition of a new board Ulf Samuelsson
@ 2007-01-08 23:02 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2007-01-08 23:02 UTC (permalink / raw)
  To: u-boot

In message <45A2C0AD.2030505@atmel.com> 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.

> 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

-- 
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."

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-08 23:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-08 22:07 [U-Boot-Users] Simple definition of a new board Ulf Samuelsson
2007-01-08 23:02 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.