From: Wolfgang Denk Date: Wed, 15 Jun 2011 14:47:16 +0200 Subject: [U-Boot] [PATCH] mx31: Improve the handling of unidentified silicon version In-Reply-To: <4DF8A2DE.3040501@denx.de> References: <1308069108-5438-1-git-send-email-fabio.estevam@freescale.com> <4DF8434F.2040205@denx.de> <4DF89C84.7090605@freescale.com> <4DF8A2DE.3040501@denx.de> Message-ID: <20110615124716.45416138EF1F@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stefano Babic, In message <4DF8A2DE.3040501@denx.de> you wrote: > > > Reading rev 2.0 on Felix=B4s case is misleading IMHO as we tend to > > think that we have a TO2.0 silicon on his board even though we get a > > "unknown" string. > > Ok, so only reading the code we can know that version number + "unknown" > give us the value of the srev register. We can explicitely expand the > output to make things clearer. Given that this is an exotic error case that happens only on a very small number of chips that are actually not supposed to exist at all, I think this is not worth the effort. The "unknown" is warning enough, and anybody who needs to know more details can see theremaining details easily from the code. > Agree with your proposal. No. We should not add code that is almost never ever useful anywhere, just to make this message more verbose. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Was hei?t Windows auf Indianisch? - "Wei?er Mann, der auf Sanduhr wartet!"