[U-Boot] [PATCH] Separate EBV Socrates board from Altera Cyclone 5 board

Detlev Zundel
2013-11-12T09:56:29Z

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

--
A language that doesn't affect the way you think about programming, is
not worth knowing. -- Alan Perlis, Epigrams on Programming
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de