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:21:54 -0700 Message-ID: <20070612132154.GD28834@atomide.com> References: <466AE1C3.8090506@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <466AE1C3.8090506@free.fr> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces+gplao-linux-omap-open-source=gmane.org@linux.omap.com Errors-To: linux-omap-open-source-bounces+gplao-linux-omap-open-source=gmane.org@linux.omap.com To: Vivien Chappelier Cc: Linux OMAP List-Id: linux-omap@vger.kernel.org * 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? Tony