[PATCH V4 3/3] powerpc/85xx: Add TWR-P1025 board support
Scott Wood
scottwood at freescale.com
Sat Sep 28 03:03:50 EST 2013
On Wed, 2013-09-25 at 04:50 -0500, Xie Xiaobo-R63061 wrote:
> > > +#if defined(CONFIG_SERIAL_QE)
> > > + /* On P1025TWR board, the UCC7 acted as UART port.
> > > + * However, The UCC7's CTS pin is low level in default,
> > > + * it will impact the transmission in full duplex
> > > + * communication. So disable the Flow control pin PA18.
> > > + * The UCC7 UART just can use RXD and TXD pins.
> > > + */
> > > + par_io_config_pin(0, 18, 0, 0, 0, 0); #endif
> >
> > Any reason not to do this unconditionally?
>
> This is a board issue, the code already have a condition - defined
> SERIAL_QE, and I will add a condition "if (machine_is(twr_p1025))".
My point was, is there any harm in doing this without regard to
CONFIG_SERIAL_QE?
-Scott
More information about the Linuxppc-dev
mailing list