[U-Boot] A bit about board.c, board.c

Simon Glass sjg at chromium.org
Sat Oct 22 07:11:00 CEST 2011


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


More information about the U-Boot mailing list