From patchwork Fri Jul 10 10:41:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1326665 X-Patchwork-Delegate: uboot@andestech.com 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=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=tUIjE/7W; 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 4B38jN3mlGz9sRf for ; Fri, 10 Jul 2020 20:41:28 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 076F88221A; Fri, 10 Jul 2020 12:41:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com 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" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="tUIjE/7W"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7356D82224; Fri, 10 Jul 2020 12:41:22 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 66B0082201 for ; Fri, 10 Jul 2020 12:41:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x641.google.com with SMTP id y10so5557692eje.1 for ; Fri, 10 Jul 2020 03:41:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QrVeabuw3Utak+dLMaeRrHXXmYBjwZ/3hoeB85qmoLw=; b=tUIjE/7W+wKvutRPDemw517/n7/71rjpbwKd5t7r/t7+kaYRE1YjxjrsQ4eZnWznOn 02Uqz90FcwR/02FO4IlBvK21Pop4GGZ4N+Z2GT6fjH6Ka/g13qOETqR3l6+BBrSfFKBZ S2voZAF4/U86v+LfddTqSL5WR9M1E3rICuVwYVBtUQdO20YKqjMq/XY8SDOz+YGpT3QT mMmPxbzjXBZ7MZhhm6re3HGNz+AKJcdBYT9Z4cP7/KkT078EJSeGQnJJ6cGRdxwJv68z 42nqtoAbnO1VSdWJIg0qDOu5Veco91KxTEwZ52SKsHycnpJM/zM9lfkuEVhy5a/7qycW dQJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=QrVeabuw3Utak+dLMaeRrHXXmYBjwZ/3hoeB85qmoLw=; b=WP3XFs6pSYECr/PDUG0c/xTsCrGqhjxYr9iJV36f+b/FEtMSvhsMxbRacT45I19BhY beShZOo91u84kki3ZqYqtlkYc1pybbX/cCx5Ex6jwOK6IPc3xI3+c6JmrHMAF2Xhq9ap XwrVqICeZaNjYuNeQNJ3WO5Os0eIptJDkifzEocmt9tQGivwNrp8/47glmZU0PhKKGi/ AkxCEh5GMHGWJHjv3VALpqnSUKCj5gTID6UGmwlpZZq71KkgvgTqJFFJz9df0TOkU4LQ MvniYKNqFz2rdTMi3ZCbFVtkxfjqHigNSaXgM96wHs0XK5PnPZhGaartNU9utjMchuPO h0Bg== X-Gm-Message-State: AOAM533Q2x4HwbwW8SUJQi/aaSgusRO638QgT+i3bx/DSSi+/lGXe+54 /LcEvrA4czn/29D8zOtBkcwrdcUFm5yc4w== X-Google-Smtp-Source: ABdhPJyOfWnDdoEGsSs8nNiLhpFRHPD2Oe708JMcBfhbLxinOeLWCiQ4x/91LBE17jdVzHCjAq3cCA== X-Received: by 2002:a17:906:408c:: with SMTP id u12mr53882664ejj.162.1594377678612; Fri, 10 Jul 2020 03:41:18 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id j19sm4088248edt.44.2020.07.10.03.41.17 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Jul 2020 03:41:17 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Adam Ford , Bin Meng , Jason Li , Peng Fan , Simon Glass , Thomas Hebb Subject: [PATCH v2] serial: Fix SIFIVE debug serial dependency Date: Fri, 10 Jul 2020 12:41:13 +0200 Message-Id: <1429a64e92548c4ce748ea21556e2edf3c4c7bd0.1594377671.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean The commit 4cc24aeaf420 ("serial: Add missing Kconfig dependencies for debug consoles") has added incorrect dependency for SIFIVE debug uart which should depend on SIFIVE driver instead of PL01x. Fixes: 4cc24aeaf420 ("serial: Add missing Kconfig dependencies for debug consoles") Signed-off-by: Michal Simek Reviewed-by: Simon Glass Reviewed-by: Bin Meng Reviewed-by: Leo Liang Reviewed-by: Sean Anderson --- Changes in v2: - Add fixes tag - asked by Simon drivers/serial/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 17d0e7362379..006cb5a50140 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -359,7 +359,7 @@ config DEBUG_UART_SANDBOX config DEBUG_UART_SIFIVE bool "SiFive UART" - depends on PL01X_SERIAL + depends on SIFIVE_SERIAL help Select this to enable a debug UART using the serial_sifive driver. You will need to provide parameters to make this work. The driver will