From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Thu, 21 Apr 2011 18:01:06 +0200 Subject: [U-Boot] [PATCH v5] ARM: mx31: Print the silicon version In-Reply-To: <4DA8897B.70202@denx.de> References: <1302574692-28134-1-git-send-email-festevam@gmail.com> <4DA8897B.70202@denx.de> Message-ID: <4DB054C2.4020901@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 On 04/15/2011 08:07 PM, Stefano Babic wrote: > On 04/12/2011 04:18 AM, Fabio Estevam wrote: >> Use the same method of the Linux kernel to print the MX31 silicon version on >> boot. >> >> Tested on a MX31PDK with a 2.0 silicon, where it shows: >> >> CPU: Freescale i.MX31 rev 2.0 at 531 MHz >> >> Signed-off-by: Fabio Estevam >> > > Applied to u-boot-imx, thanks. > Fabio, I have not noted before that your patch introduce a warning: generic.c: In function 'get_cpu_rev': generic.c:131: warning: return discards qualifiers from pointer target type This is due to the usage of the const in the mx3_cpu_type: struct mx3_cpu_type { u8 srev; const char *v; Do you agree if I drop myself the const attribute on u-boot-imx before pulling your patch to the arm tree ? Regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================