[U-Boot-Users] [PATCH0/2] Re-do the patch for adding DO_SYNC in flash_write_cmd

Wolfgang Denk wd at denx.de
Sun Feb 11 11:23:39 CET 2007


In message <45CE80A1.5050206 at freescale.com> you wrote:
> 
> > #define sync()  __asm__ __volatile__ ("sync" : : : "memory");
> 
> I like this idea, but is that semicolon supposed to be there?  Shouldn't 
> we make it an inline function instead of a macro?

No, and yes, please.

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
Felson's Law:
	To steal ideas from one person is plagiarism; to steal from
	many is research.




More information about the U-Boot mailing list