Dear Kuo-Jung Su,

In message <1366277139-29728-5-git-send-email-dant...@gmail.com> you wrote:
...
> +#define I2C_READ(r)          le32_to_cpu(readl(r))
> +#define I2C_WRITE(v, r)      writel(cpu_to_le32(v), r)

Please drop these macros and use the real functions 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
Little known fact about Middle Earth:   The Hobbits had a very sophi-
sticated computer network!   It was a Tolkien Ring...
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to