All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] configs: am335x_boneblack: add example debug uart configuration
Date: Thu, 12 Apr 2018 09:55:01 -0400	[thread overview]
Message-ID: <20180412135501.GW10996@bill-the-cat.ec.rr.com> (raw)
In-Reply-To: <20180411192319.9992-1-sjoerd.simons@collabora.co.uk>

On Wed, Apr 11, 2018 at 09:23:19PM +0200, Sjoerd Simons wrote:

> To make it simpler to enable the debug uart on boneblack add debug
> uart configuration as an example in the defconfig but with
> CONFIG_DEBUG_UART disabled. Which allows a user to simple enable it when
> needing easily without figuring out the right values for memory
> base/clock and shift.
> 
> Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
> ---
> 
>  configs/am335x_boneblack_defconfig | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/configs/am335x_boneblack_defconfig b/configs/am335x_boneblack_defconfig
> index 5688e44c0b..67c16e46d2 100644
> --- a/configs/am335x_boneblack_defconfig
> +++ b/configs/am335x_boneblack_defconfig
> @@ -48,3 +48,8 @@ CONFIG_USBNET_HOST_ADDR="de:ad:be:af:00:00"
>  CONFIG_LZO=y
>  CONFIG_OF_LIBFDT=y
>  CONFIG_OF_LIBFDT_OVERLAY=y
> +# CONFIG_DEBUG_UART is not set
> +CONFIG_DEBUG_UART_NS16550=y
> +CONFIG_DEBUG_UART_BASE=0x44e09000
> +CONFIG_DEBUG_UART_CLOCK=48000000
> +CONFIG_DEBUG_UART_SHIFT=2

This will get overwritten by the next defconfig re-sync.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180412/3534761b/attachment.sig>

      reply	other threads:[~2018-04-12 13:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-11 19:23 [U-Boot] [PATCH] configs: am335x_boneblack: add example debug uart configuration Sjoerd Simons
2018-04-12 13:55 ` Tom Rini [this message]

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=20180412135501.GW10996@bill-the-cat.ec.rr.com \
    --to=trini@konsulko.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.