From: Wolfgang Denk Date: Wed, 30 Apr 2008 17:41:18 +0200 Subject: [U-Boot-Users] cfi_flash.c and lost volatile qualifier In-Reply-To: Your message of "Wed, 30 Apr 2008 17:34:56 +0200." <1209569696.16926.53.camel@gentoo-jocke.transmode.se> Message-ID: <20080430154118.3578F24681@gemini.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 <1209569696.16926.53.camel@gentoo-jocke.transmode.se> you wrote: > > There need be a get-the-endian-right-but-no-sync. After all > 2.4 managed well without using the in/out be() functions. Yes, but try building it with a recent version of GCC and run the code on some PPC systems. There may be some nasty surprises. I remember that we had to fix a couple of drivers in our old 2.4.25 kernel. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de As a general rule, the freedom of any people can be judged by the volume of their laughter.