[mc1322x] suggestions for code errata
Mariano Alvira
mar at devl.org
Fri Oct 9 16:28:42 EDT 2009
On Fri, Oct 09, 2009 at 04:12:54PM -0400, Peter Lawrence wrote:
> Sorry, everyone, for the extra email. The comments in my code example
> are backwards. It should be:
>
> > #ifdef USE_PA
> > reg(ADDR_POW2) = 0xffffdfff & PAVAL[power]; /* dual port */
> > #else
> > reg(ADDR_POW2) = 0x00002000 | PAVAL[power]; /* single port */
> > #endif
This makes sense to me --- we should probably make this change since
I'd like to use a PA someday!
Thanks,
-Mar.
More information about the mc1322x
mailing list