From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Retanubun Date: Fri, 23 Jan 2009 17:27:38 -0500 Subject: [U-Boot] Coldfire: Compiler warnings when building M5271EVB Message-ID: <497A445A.1050807@RuggedCom.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Tsi-Chung: Sorry for the delay. I've posted the M5271 patches to the mailing list just now. Also, I have a question about the compiler warning I see when building the M5271EVB: cpu_init.c:57:2: warning: #warning "Chip Select 0 are not initialized/used" cpu_init.c: In function 'init_fbcs': cpu_init.c:49: warning: unused variable 'fbcs' The line numbers are AFTER my patches, so they may not match yours precisely. Is the correct answer to add CONFIG_M5271 to the this #ifndef ? - #ifndef CONFIG_M5272 + #if !(defined CONFIG_M5272) && !(defined CONFIG_M5271) /* Only 5272 Flexbus chipselect is different from the rest */ void init_fbcs(void) { I think that will remove the warnings for M5271, but I may be missing the context here :) what is the flexBus by the way? Thanks for the time - Richard Retanubun