
Hi Michal,
On 11/11/2013 09:33 PM, Tom Rini wrote:
On Mon, Nov 11, 2013 at 08:26:02PM +0100, Pavel Machek wrote:
Altera Cyclone 5 board is very different board (big, rectangular, expensive) than EBV Socrates (small, circular, cheap) board. Different parts are used there, too, but same configuration of u-boot works on both. Nevertheless, printing wrong name confuses users.
Therefore this splits the configuration so that u-boot knows they are different. So far it is only used for correcting the puts, but there may be other uses in future.
Signed-off-by: Pavel Machek pavel@denx.de
Is there any way at run time to tell which board we are on?
Why do you care about board name in general?
We care for board names for a very long time in U-Boot and I'd like to keep this. I actually expect a sensible board name on any platform that I touch. The board name is an important extra information additional to the SoC name. So the question is the other way round - since when do we _not_ care about board names?
Cheers Detlev