Dear xulei, In message <1362368146-738-1-git-send-email-b33...@freescale.com> you wrote: > > + /* On P204x/P304x/P50x0 Rev1.0, USB transmit will result internal > + * multi-bit ECC errors, which has impact on performance, so software > + * should disable all ECC reporting from USB1 and USB2 by setting bits > + * 16 and 17 to 1 in the register at DCSRBASE + 0x0002_0520. > + */ > +#ifdef CONFIG_SYS_FSL_ERRATUM_USB14 > + if (IS_SVR_REV(get_svr(), 1, 0)) { > + void *p; > + p = (void *)CONFIG_SYS_DCSRBAR + 0x20520; > + setbits_be32(p, 3 << (31 - 17)); > + } > +#endif
Please move the comment inside the #ifdef block. 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 I distrust all systematisers, and avoid them. The will to a system shows a lack of honesty. - Friedrich Wilhelm Nietzsche _Götzen-Dämmerung [The Twilight of the Idols]_ ``Maxims and Missiles'' no. 26 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot