
21 Dec
2010
21 Dec
'10
9:37 a.m.
On 21.12.2010 09:17, Wolfgang Denk wrote:
Dear Dirk Behme,
In message4D105FB3.3090801@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?
Yes.
I mixed the patches :(
Sorry for the noise. I just sent the hopefully correct version some minutes ago.
Thanks
Dirk