From: Detlev Zundel Date: Tue, 12 Nov 2013 10:56:29 +0100 Subject: [U-Boot] [PATCH] Separate EBV Socrates board from Altera Cyclone 5 board In-Reply-To: <5281E55E.8090701@monstr.eu> (Michal Simek's message of "Tue, 12 Nov 2013 09:22:54 +0100") References: <20131111192602.GA22118@amd.pavel.ucw.cz> <20131111203332.GG420@bill-the-cat> <5281E55E.8090701@monstr.eu> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 >> >> 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