On Tuesday, August 30, 2011 08:05:18 Michal Simek wrote:
> +     volatile struct temac_reg *regs = priv->regs;
> +
> +     regs->lsw = (phy_addr << 5) | reg_addr;
> +     regs->ctl = MIIMAI | (emac << 10);

you should still be going through read/write i/o helper funcs rather than 
relying on the volatile markings

the rest looks sane
-mike

Attachment: 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

Reply via email to