From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 09 Feb 2007 20:42:00 +0100 Subject: [U-Boot-Users] [PATCH0/2] Re-do the patch for adding DO_SYNC in flash_write_cmd In-Reply-To: Your message of "Fri, 09 Feb 2007 12:47:34 EST." <1171043255.3932.20.camel@udp097531uds.am.freescale.net> Message-ID: <20070209194200.237A535265F@atlas.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 In message <1171043255.3932.20.camel@udp097531uds.am.freescale.net> you wrote: > Because SYNC is already defined in include/ppc_asm.tmpl for some ppc > based CPUs to use, I use DO_SYNC instead of SYNC for this patch. AFAICT that's a general definition which is not specific to "some ppc based CPUs" only. Rather than redefining it why not just use this definition? It seems to match our purposes. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk Office: Kirchenstr. 5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de There are two ways to write error-free programs. Only the third one works.