[U-Boot] [PATCH 1/3] omap4: panda: disable uart2 pads during boot

Tero Kristo t-kristo at ti.com
Mon May 7 10:33:24 CEST 2012


On Sat, 2012-05-05 at 15:04 +0530, R, Sricharan wrote:
> Hi Tero,
> 
> On Wed, Apr 25, 2012 at 9:35 PM, Tero Kristo <t-kristo at ti.com> wrote:
> > If uart2 is enabled during boot, spurious wifi chip transmission will
> > hang the module and it is impossible to recover from this situation
> > without hard reset. This will prevent any l4_per domain idle
> > transitions.
> >
> > Signed-off-by: Tero Kristo <t-kristo at ti.com>
> > ---
> >  board/ti/panda/panda_mux_data.h |    8 ++++----
> >  1 files changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/board/ti/panda/panda_mux_data.h b/board/ti/panda/panda_mux_data.h
> > index 3efc22a..dc8b388 100644
> > --- a/board/ti/panda/panda_mux_data.h
> > +++ b/board/ti/panda/panda_mux_data.h
> > @@ -168,10 +168,10 @@ const struct pad_conf_entry core_padconf_array_non_essential[] = {
> >        {ABE_DMIC_DIN1, (IEN | M0)},                                    /* abe_dmic_din1 */
> >        {ABE_DMIC_DIN2, (PTU | IEN | M3)},                              /* gpio_121 */
> >        {ABE_DMIC_DIN3, (IEN | M0)},                                    /* abe_dmic_din3 */
> > -       {UART2_CTS, (PTU | IEN | M0)},                                  /* uart2_cts */
> > -       {UART2_RTS, (M0)},                                              /* uart2_rts */
> > -       {UART2_RX, (PTU | IEN | M0)},                                   /* uart2_rx */
> > -       {UART2_TX, (M0)},                                               /* uart2_tx */
> > +       {UART2_CTS, (PTU | IEN | M7)},                                  /* uart2_cts */
> > +       {UART2_RTS, (M7)},                                              /* uart2_rts */
> > +       {UART2_RX, (PTU | IEN | M7)},                                   /* uart2_rx */
> > +       {UART2_TX, (M7)},                                               /* uart2_tx */
> >        {HDQ_SIO, (M3)},                                                /* gpio_127 */
> >        {MCSPI1_CLK, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)},            /* mcspi1_clk */
> >        {MCSPI1_SOMI, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)},           /* mcspi1_somi */
> > --
> 
> How about not muxing and keeping the pads at reset modes ( safe mode).
>  If this works , then better to remove these pads from the table.

This works also, just tried it out to double check.

-Tero




More information about the U-Boot mailing list