On Mon, Sep 01, 2014 at 01:05:32AM +0900, Masahiro Yamada wrote: > The help message in board/ti/am335x/Kconfig says AM335x has > 6 UARTs, so the valid number for CONFIG_CONS_INDEX is from 1 to 6. > > Signed-off-by: Masahiro Yamada <yamad...@jp.panasonic.com> > Cc: Tom Rini <tr...@ti.com> > --- > > BTW, why does CONFIG_CONS_INDEX start from 1, not 0. > > CONFIG_CONS_INDEX=1 correponds to UART0 ?
CONFIG_CONS_INDEX is 1-based, AM33xx TRM has UARTs 0-based, so yes, we map things as you're thinking. -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot