On 05/21/2012 06:47 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, May 14, 2012 at 4:13 PM, Stephen Warren <swar...@wwwdotorg.org > <mailto:swar...@wwwdotorg.org>> wrote: > > From: Stephen Warren <swar...@nvidia.com <mailto:swar...@nvidia.com>> > > (In at least some configurations) Whistler uses UART1 on pingroups > UAA, UAB.
> diff --git a/arch/arm/cpu/armv7/tegra2/board.c > +static int uart_configs[] = { > +#ifdef CONFIG_TEGRA2_UARTA_UAA_UAB > + FUNCMUX_UART1_UAA_UAB, > +#else > + FUNCMUX_UART1_IRRX_IRTX, > +#endif > > > We really shouldn't be using configs to deal with this. It should be a > run-time check. > > I recall you saying that we could use the ODM bits for this? The ODM bits can indicate which UART is to be used to the debug serial port, but not the pinmux options. We have no alternative but to make this a compile-time constant. > > + FUNCMUX_UART2_IRDA, > + -1, > + FUNCMUX_UART4_GMC, > + -1, > +}; _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot