public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] A bit about board.c, board.c
@ 2011-10-22  5:11 Simon Glass
  2011-10-22  7:17 ` Albert ARIBAUD
       [not found] ` <CALButCLfLekoJzsnnL_pmxgBERQYdGJFCrhjvsWNvn4_9H_fDw@mail.gmail.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Simon Glass @ 2011-10-22  5:11 UTC (permalink / raw)
  To: u-boot

Hi,

Each architecture has its own board.c but they are mostly quite similar.

New features such as fdt, boot timing, trace, profiling, etc. must be
done separately for each arch, even if there are no
architecture-specific bits.

What would you say to adding something like lib/board.c which is a
simplified cleaned-up copy of one of the existing board.c files, and a
CONFIG_ARCH_GENERIC_BOARD option to select that in preference to the
architecture-specific one. Then perhaps people could try it out and we
could slowly move to it over time...

Regards,
Simon

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

end of thread, other threads:[~2011-11-16  6:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-22  5:11 [U-Boot] A bit about board.c, board.c Simon Glass
2011-10-22  7:17 ` Albert ARIBAUD
2011-10-22 16:40   ` Simon Glass
2011-10-23  8:14     ` Wolfgang Denk
2011-11-16  6:45       ` Simon Glass
2011-10-28 18:09     ` Albert ARIBAUD
     [not found] ` <CALButCLfLekoJzsnnL_pmxgBERQYdGJFCrhjvsWNvn4_9H_fDw@mail.gmail.com>
     [not found]   ` <CAPnjgZ2AeXwhR+hAN9UGL1USuvCTtNHjJrXd-cyYRwm_zum6uw@mail.gmail.com>
2011-10-22 21:41     ` Graeme Russ
2011-10-22 21:52       ` Graeme Russ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox