summaryrefslogtreecommitdiff
path: root/board/tqc
diff options
context:
space:
mode:
authorWolfgang Grandegger <wg@grandegger.com>2008-06-05 13:12:01 +0200
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-06-10 23:53:03 -0500
commit5d5bd838f76eade22c0ea40a500389f924d0da36 (patch)
tree5fd92f1ff1f0750f3dae227bf13cdf436c8fa03a /board/tqc
parentb99ba1679e8cd51b023e67098c89e606e47137d2 (diff)
downloadu-boot-imx-5d5bd838f76eade22c0ea40a500389f924d0da36.zip
u-boot-imx-5d5bd838f76eade22c0ea40a500389f924d0da36.tar.gz
u-boot-imx-5d5bd838f76eade22c0ea40a500389f924d0da36.tar.bz2
TQM85xx: Fix CPM port pin configuration
Do not configure port pins PD30/PD31 as SCC1 TxD/RxD except for the TQM8560 board. On the other TQM85xx boards (TQM8541 and TQM8555) SCC1 is not used as serial interface anyway. Worse, on some board variants configuring the pins for SCC1 leads to short circuits (for example on the TQM8541-BG). Signed-off-by: Martin Krause <martin.krause@tqs.de>
Diffstat (limited to 'board/tqc')
-rw-r--r--board/tqc/tqm85xx/tqm85xx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/tqc/tqm85xx/tqm85xx.c b/board/tqc/tqm85xx/tqm85xx.c
index 31364d3..af8c170 100644
--- a/board/tqc/tqm85xx/tqm85xx.c
+++ b/board/tqc/tqm85xx/tqm85xx.c
@@ -165,9 +165,15 @@ const iop_conf_t iop_conf_tab[4][32] = {
/* Port D: conf, ppar, psor, pdir, podr, pdat */
{
+#ifdef CONFIG_TQM8560
{1, 1, 0, 0, 0, 0}, /* PD31: SCC1 EN RxD */
{1, 1, 1, 1, 0, 0}, /* PD30: SCC1 EN TxD */
{1, 1, 0, 1, 0, 0}, /* PD29: SCC1 EN TENA */
+#else /* !CONFIG_TQM8560 */
+ {0, 0, 0, 0, 0, 0}, /* PD31: PD31 */
+ {0, 0, 0, 0, 0, 0}, /* PD30: PD30 */
+ {0, 0, 0, 0, 0, 0}, /* PD29: PD29 */
+#endif /* CONFIG_TQM8560 */
{1, 1, 0, 0, 0, 0}, /* PD28: PD28 */
{1, 1, 0, 1, 0, 0}, /* PD27: PD27 */
{1, 1, 0, 1, 0, 0}, /* PD26: PD26 */