Dear Dirk Behme, In message <4d105fb3.3090...@googlemail.com> you wrote: > > Broken: > ====== ... > static void omap_nand_hwcontrol(struct mtd_info *mtd, int32_t cmd, > uint32_t ctrl) > { > register struct nand_chip *this = mtd->priv; > ... > if (cmd != -1) > ({ do { } while (0); (*(volatile unsigned char *)(this->IO_ADDR_W) > > = (cmd)); });
But this is the old, discarded version of the patch. I though we had agreed that we have to use the __asm__ __volatile__ ("" : : : "memory") version instead? 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: w...@denx.de Program maintenance is an entropy-increasing process, and even its most skilfull execution only delays the subsidence of the system into unfixable obsolescence. - Fred Brooks, "The Mythical Man Month" _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot