All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Vivien Chappelier <vivien.chappelier@free.fr>
Cc: Linux OMAP <linux-omap-open-source@linux.omap.com>
Subject: Re: [PATCH 3/12] Add an option to disable debug UART.
Date: Tue, 12 Jun 2007 06:21:54 -0700	[thread overview]
Message-ID: <20070612132154.GD28834@atomide.com> (raw)
In-Reply-To: <466AE1C3.8090506@free.fr>

* Vivien Chappelier <vivien.chappelier@free.fr> [070609 10:23]:
> This patch adds an option to boot without any debug UART.
>
> Signed-off-by: Vivien Chappelier <vivien.chappelier@free.fr>
>
> ---
> arch/arm/plat-omap/Kconfig              |    3 +++
> include/asm-arm/arch-omap/debug-macro.S |   10 +++++++++-
> include/asm-arm/arch-omap/uncompress.h  |    2 +-
> 3 files changed, 13 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
> index 6facd96..a02e954 100644
> --- a/arch/arm/plat-omap/Kconfig
> +++ b/arch/arm/plat-omap/Kconfig
> @@ -178,6 +178,9 @@ choice
>     depends on ARCH_OMAP
>     default OMAP_LL_DEBUG_UART1
> +config OMAP_LL_DEBUG_NONE
> +    bool "NONE"
> +
> config OMAP_LL_DEBUG_UART1
>     bool "UART1"
> diff --git a/include/asm-arm/arch-omap/debug-macro.S 
> b/include/asm-arm/arch-omap/debug-macro.S
> index ca4f577..4051420 100644
> --- a/include/asm-arm/arch-omap/debug-macro.S
> +++ b/include/asm-arm/arch-omap/debug-macro.S
> @@ -38,6 +38,13 @@
> #endif
>         .endm
> +#ifdef CONFIG_OMAP_LL_DEBUG_NONE
> +        .macro    senduart,rd,rx
> +        .endm
> +    +        .macro    busyuart,rd,rx
> +        .endm
> +#else
>         .macro    senduart,rd,rx
>         strb    \rd, [\rx]
>         .endm

Hmm, is the extra + before busyuart above intentional?

Tony

  reply	other threads:[~2007-06-12 13:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-09 17:22 [PATCH 3/12] Add an option to disable debug UART Vivien Chappelier
2007-06-12 13:21 ` Tony Lindgren [this message]
2007-06-12 13:36   ` Tony Lindgren
2007-06-12 21:42     ` Vivien Chappelier
  -- strict thread matches above, loose matches on Subject: below --
2007-06-09 18:39 Vivien Chappelier

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=20070612132154.GD28834@atomide.com \
    --to=tony@atomide.com \
    --cc=linux-omap-open-source@linux.omap.com \
    --cc=vivien.chappelier@free.fr \
    /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.