From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm: am335x: add Kconfig range attribute to prevent invalid CONS_INDEX
Date: Sun, 31 Aug 2014 12:40:49 -0400 [thread overview]
Message-ID: <20140831164049.GP19374@bill-the-cat> (raw)
In-Reply-To: <1409501132-5443-1-git-send-email-yamada.m@jp.panasonic.com>
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 <yamada.m@jp.panasonic.com>
> Cc: Tom Rini <trini@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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140831/812539ef/attachment.pgp>
next prev parent reply other threads:[~2014-08-31 16:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-31 16:05 [U-Boot] [PATCH] arm: am335x: add Kconfig range attribute to prevent invalid CONS_INDEX Masahiro Yamada
2014-08-31 16:40 ` Tom Rini [this message]
2014-09-04 20:47 ` [U-Boot] " Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140831164049.GP19374@bill-the-cat \
--to=trini@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox