On Monday 04 January 2010 14:50:54 Dirk Behme wrote: > struct mcspi { > unsigned char res1[0x10]; > unsigned int sysconfig; /* 0x10 */ > unsigned int sysstatus; /* 0x14 */ > unsigned int irqstatus; /* 0x18 */ > unsigned int irqenable; /* 0x1C */ > unsigned int wakeupenable; /* 0x20 */ > unsigned int syst; /* 0x24 */ > unsigned int modulctrl; /* 0x28 */ > struct mcspi_channel channel[4]; > } > > regs = (struct mcspi *)OMAP3_MCSPI1_BASE; > > writel(value, regs->modulctrl);
i think you mean ®s->modulctrl -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot