Commit 01826abc02ce160501534788e63629ccbe31b05c

Authored by Grazvydas Ignotas
Committed by Tom Rix
1 parent 3c014f1586

OMAP3: pandora: fix booting without serial attached

When the board is booted without serial cable attached (which
is how most of them will be used) UART RX is left floating and
sometimes picks noise, which interrupts countdown and enters
U-Boot prompt instead of booting the kernel.

Fix this by setting up internal pullup on UART RX pin. This
does not prevent serial from working as the internal pullup
is weak.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

board/pandora/pandora.h
... ... @@ -219,7 +219,8 @@
219 219 MUX_VAL(CP(UART2_RX), (IEN | PTD | EN | M4)) /*GPIO_147,*/\
220 220 /*UART2_RX*/\
221 221 /*Serial Interface (Peripheral boot, Linux console, on AV connector)*/\
222   - MUX_VAL(CP(UART3_RX_IRRX), (IEN | PTD | DIS | M0)) /*UART3_RX*/\
  222 + /*RX pulled up to avoid noise when nothing is connected to serial port*/\
  223 + MUX_VAL(CP(UART3_RX_IRRX), (IEN | PTU | EN | M0)) /*UART3_RX*/\
223 224 MUX_VAL(CP(UART3_TX_IRTX), (IDIS | PTD | DIS | M0)) /*UART3_TX*/\
224 225 /*LEDs (Controlled by OMAP)*/\
225 226 MUX_VAL(CP(MMC1_DAT6), (IDIS | PTD | DIS | M4)) /*GPIO_128*/\