Re: [PATCH V4 3/3] powerpc/85xx: Add TWR-P1025 board support
From: Scott Wood <hidden>
Date: 2013-09-27 17:04:03
From: Scott Wood <hidden>
Date: 2013-09-27 17:04:03
On Wed, 2013-09-25 at 04:50 -0500, Xie Xiaobo-R63061 wrote:
quoted
quoted
+#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); #endifAny 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