From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 3/12] Add an option to disable debug UART. Date: Tue, 12 Jun 2007 06:36:23 -0700 Message-ID: <20070612133623.GG28834@atomide.com> References: <466AE1C3.8090506@free.fr> <20070612132154.GD28834@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20070612132154.GD28834@atomide.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: Vivien Chappelier Cc: Linux OMAP List-Id: linux-omap@vger.kernel.org t* Tony Lindgren [070612 06:22]: > * Vivien Chappelier [070609 10:23]: > > This patch adds an option to boot without any debug UART. > > > > Signed-off-by: Vivien Chappelier > > > > --- > > 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? I guess I should be looking at the updated patch set instead... Tony