From patchwork Thu Jan 23 08:27:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olliver Schinagl X-Patchwork-Id: 1227710 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=schinagl.nl Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=schinagl.nl header.i=@schinagl.nl header.a=rsa-sha256 header.s=7of9 header.b=BCu5KTE6; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 483FlY0bh8z9sR1 for ; Thu, 23 Jan 2020 19:28:08 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 45394817ED; Thu, 23 Jan 2020 09:28:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=schinagl.nl Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=schinagl.nl header.i=@schinagl.nl header.b="BCu5KTE6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B61D7817F2; Thu, 23 Jan 2020 09:28:04 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from 7of9.schinagl.nl (7of9.schinagl.nl [62.251.20.244]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6235D817C0 for ; Thu, 23 Jan 2020 09:28:02 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=schinagl.nl Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=oliver@schinagl.nl Received: from 3of9.evbox.com (unknown [83.232.59.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by 7of9.schinagl.nl (Postfix) with ESMTPSA id 78C5A12D0556; Thu, 23 Jan 2020 09:28:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=schinagl.nl; s=7of9; t=1579768082; bh=j4oL31j18qqpdpVGvsmQxoF17lG7pvSmymPu04uDw3o=; h=From:To:Cc:Subject:Date; b=BCu5KTE6fEmlwohpeEP48KBi7xNuArXchZO2nJ3XSluwNb6xJCRS9GM5aiwqgyrYH G+mOD8hbEnxcDtnluOBzcPixUMgBnTvpt+cAfXsfbOYfi9WmYrOOACeF5ucdrj0ttW M2yOVRvGpyv2b9uZ2NkTgfm8PFBFqsZPp6e276lc= From: Olliver Schinagl To: Michal Simek Subject: [PATCH] Kconfig/debug_uart: Enable proper drivers for debug on Zynq Date: Thu, 23 Jan 2020 09:27:55 +0100 Message-Id: <20200123082755.23155-1-oliver@schinagl.nl> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Olliver Schinagl , u-boot@lists.denx.de, Olliver Schinagl Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean When selecting CONFIG_DEBUG_UART_ZYNQ for one it is imperative that CONFIG_SERIAL_ZYNQ is enabled. Further more, the zynq serial driver is mostly?/all driver model based. However when compiling the early uart for the SPL, none of that is available yet, so for the SPL build this needs to be enabled also. Signed-off-by: Olliver Schinagl --- drivers/serial/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index bd95f70b61..292bdb2a2f 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -292,6 +292,7 @@ config DEBUG_MVEBU_A3700_UART config DEBUG_UART_ZYNQ bool "Xilinx Zynq" + select ZYNQ_SERIAL help Select this to enable a debug UART using the serial_zynq driver. You will need to provide parameters to make this work. The driver will