From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 27 Jul 2007 21:20:36 +0200 Subject: [U-Boot-Users] U-boot ColdFire development In-Reply-To: <4791E710007FEB4BBF83775D787F462F048C80CA@az33exm22.fsl.freescale.net> References: <4791E710007FEB4BBF83775D787F462F04749339@az33exm22.fsl.freescale.net> <200707270651.07904.sr@denx.de> <4791E710007FEB4BBF83775D787F462F048C80CA@az33exm22.fsl.freescale.net> Message-ID: <200707272120.36373.sr@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 TsiChung, On Friday 27 July 2007, Liew Tsi Chung-r5aahp wrote: > Sorry about previous statement. I meant is exclude it from built but still > able to build it if it is not CF. > > ... > #ifndef __M68K__ > sync(); > #endif > ... Sure. I understand. But please don't do it this way, since this will bring us (again) more #ifdef's. > Anyway, the inline in io.h works too! :) Yes, this is the way to go. Please implement this change. Thanks. Best regards, Stefan ===================================================================== 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 =====================================================================