Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964967AbaDIVjs (ORCPT ); Wed, 9 Apr 2014 17:39:48 -0400 Received: from mail-ve0-f174.google.com ([209.85.128.174]:57927 "EHLO mail-ve0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933908AbaDIVjn (ORCPT ); Wed, 9 Apr 2014 17:39:43 -0400 MIME-Version: 1.0 In-Reply-To: <1397072736-10793-5-git-send-email-matthias.bgg@gmail.com> References: <1397072736-10793-1-git-send-email-matthias.bgg@gmail.com> <1397072736-10793-5-git-send-email-matthias.bgg@gmail.com> Date: Wed, 9 Apr 2014 16:39:42 -0500 Message-ID: Subject: Re: [PATCH 4/4] arm: mediatek: Add earlyprintk support for MT6589 From: Rob Herring To: Matthias Brugger Cc: "linux-kernel@vger.kernel.org" , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Randy Dunlap , Russell King - ARM Linux , Daniel Lezcano , Thomas Gleixner , Thierry Reding , Florian Vaussard , Jonathan Cameron , Jason Cooper , Andrew Lunn , Silvio F , heiko.stuebner@bq.com, Olof Johansson , Sebastian Hesselbarth , "devicetree@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 9, 2014 at 2:45 PM, Matthias Brugger wrote: > Signed-off-by: Matthias Brugger > --- > arch/arm/Kconfig.debug | 49 +++++++++++++++++++++++++++++++++++-- > arch/arm/include/debug/mediatek.S | 38 ++++++++++++++++++++++++++++ > 2 files changed, 85 insertions(+), 2 deletions(-) > create mode 100644 arch/arm/include/debug/mediatek.S > > diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug > index 4a2fc0b..dc51495 100644 > --- a/arch/arm/Kconfig.debug > +++ b/arch/arm/Kconfig.debug > @@ -797,6 +797,38 @@ choice > Say Y here if you want kernel low-level debugging support > on Ux500 based platforms. > > + config DEBUG_MTK6589_UART0 > + depends on ARCH_MEDIATEK > + bool "Mediatek mt6589 UART0" > + select DEBUG_UART_MEDIATEK > + help > + Say Y here if you want kernel low-level debugging support > + on Mediatek mt6589 based platforms. > + > + config DEBUG_MTK6589_UART1 > + depends on ARCH_MEDIATEK > + bool "Mediatek mt6589 UART1" > + select DEBUG_UART_MEDIATEK > + help > + Say Y here if you want kernel low-level debugging support > + on Mediatek mt6589 based platforms. > + > + config DEBUG_MTK6589_UART2 > + depends on ARCH_MEDIATEK > + bool "Mediatek mt6589 UART2" > + select DEBUG_UART_MEDIATEK > + help > + Say Y here if you want kernel low-level debugging support > + on Mediatek mt6589 based platforms. > + > + config DEBUG_MTK6589_UART3 > + depends on ARCH_MEDIATEK > + bool "Mediatek mt6589 UART3" > + select DEBUG_UART_MEDIATEK > + help > + Say Y here if you want kernel low-level debugging support > + on Mediatek mt6589 based platforms. > + Do you really need all uarts defined? Only define what you have boards using. Also, you have no uarts defined in your dts. Please add them there (and any necessary serial driver) before adding debug functionality. Otherwise, you can't actually boot a multi-platform kernel with this series. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/