From patchwork Sun Oct 4 20:29:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 1376535 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=aFAi2M5P; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 4C4FjP1rxHz9s1t for ; Mon, 5 Oct 2020 07:30:33 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 935AA82374; Sun, 4 Oct 2020 22:30:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="aFAi2M5P"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A75128233B; Sun, 4 Oct 2020 22:30:03 +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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (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 102008233B for ; Sun, 4 Oct 2020 22:30:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-qt1-x82e.google.com with SMTP id g3so7703563qtq.10 for ; Sun, 04 Oct 2020 13:30:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Amj3r+/QOTzBhpLYOeygNO3hy+XJOGvTo4sXXSzLk8I=; b=aFAi2M5PyfA8uY5nmUERTJ7JtHB0ObPXkC1xV4PH8W8qiybz8/evjZxz7V/aM33C/2 hU6n5AhOmSvLgr/bJBw2/FShiluKVF7i+Hnvpk0NnaNOwwQVeqkfbJDkHBcuRzktyIwQ WMys1a76DHKWUckBcNjDW6a3zya4lXBNHMB7xaqmwGAKx8I5TKlCA45eSd0wH0aR0Ybx 7EJUEbFBD+W7514jlsn4SrMt0zfEmymU2IiMkWXrdMPccTWlRrMplGOUgFM1el6DNZ0e yvEpk8SCnFqmi30e3I8/dQL6dALiCttdYXmEcJNDfxZ+NVO5fq8MqDoCQq2S/DUVxllq FHog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Amj3r+/QOTzBhpLYOeygNO3hy+XJOGvTo4sXXSzLk8I=; b=Ptoh65La1CTpJTcYcCowMUjUnYXWvLG3PxX7zNLvE0qUWGC6mX+lxY0p4/pv6D9YwU 9vSVKgbhLC749r0i9iO23zOUsTV+BnkqvzphyRw7hna0sp4t45I4Rorks0yjWr0eUX6U WMmVLHPmUFRHtBKkDcNzwPp0iJ3T0W4LHPxy5Cah0JTsUdehnrhKfH9T35dIvZnvinl/ FIRSYTkgOWAug8C/ayK526gOnnvWFjy9L+nP8bwjehZ6vPN1YrrRwmFdKZ5Bs+uhWI0M Cxfkxv626r3tqrFhWJLq5UzK6CrcqQQ+M6nN2/zQ1WEOqZtDVvR+ciaFlZMUHFgNjKIG 5jJg== X-Gm-Message-State: AOAM530n9X1ruZlyTbkI9RuxRHPIAa8wEpc8EnLy4BdnqYOtj34NhPE5 GUDK9vzeMRzcvV5JTnSpjPmZ/1930Z3TKg== X-Google-Smtp-Source: ABdhPJxjm+KEEHcEBeOgPXEDkhFlP/rE5benL88naca7EuZV5rJe5aeD+Q9Wxl3uyT/oYSljWUWFOA== X-Received: by 2002:ac8:33e8:: with SMTP id d37mr10832885qtb.310.1601843398521; Sun, 04 Oct 2020 13:29:58 -0700 (PDT) Received: from godwin.fios-router.home (pool-108-51-35-162.washdc.fios.verizon.net. [108.51.35.162]) by smtp.gmail.com with ESMTPSA id d9sm6170597qtg.51.2020.10.04.13.29.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Oct 2020 13:29:58 -0700 (PDT) From: Sean Anderson To: u-boot@lists.denx.de Cc: Bin Meng , Simon Glass , Pragnesh Patel , Rick Chen , Sean Anderson Subject: [PATCH 2/3] timer: Add _TIMER suffix to Andes PLMT Kconfig Date: Sun, 4 Oct 2020 16:29:46 -0400 Message-Id: <20201004202947.469166-3-seanga2@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201004202947.469166-1-seanga2@gmail.com> References: <20201004202947.469166-1-seanga2@gmail.com> 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 This matches the naming scheme of other timer drivers. Signed-off-by: Sean Anderson Reviewed-by: Simon Glass Reviewed-by: Rick Chen --- arch/riscv/cpu/ax25/Kconfig | 2 +- drivers/timer/Kconfig | 2 +- drivers/timer/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/riscv/cpu/ax25/Kconfig b/arch/riscv/cpu/ax25/Kconfig index 5cb5bb51eb..327b74e20a 100644 --- a/arch/riscv/cpu/ax25/Kconfig +++ b/arch/riscv/cpu/ax25/Kconfig @@ -5,7 +5,7 @@ config RISCV_NDS imply CPU_RISCV imply RISCV_TIMER if (RISCV_SMODE || SPL_RISCV_SMODE) imply ANDES_PLIC if (RISCV_MMODE || SPL_RISCV_MMODE) - imply ANDES_PLMT if (RISCV_MMODE || SPL_RISCV_MMODE) + imply ANDES_PLMT_TIMER if (RISCV_MMODE || SPL_RISCV_MMODE) imply SPL_CPU_SUPPORT imply SPL_OPENSBI imply SPL_LOAD_FIT diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig index 2f9c8f84f0..e5948e10c6 100644 --- a/drivers/timer/Kconfig +++ b/drivers/timer/Kconfig @@ -53,7 +53,7 @@ config ALTERA_TIMER Select this to enable a timer for Altera devices. Please find details on the "Embedded Peripherals IP User Guide" of Altera. -config ANDES_PLMT +config ANDES_PLMT_TIMER bool depends on RISCV_MMODE || SPL_RISCV_MMODE help diff --git a/drivers/timer/Makefile b/drivers/timer/Makefile index d22813127f..eda311f0f5 100644 --- a/drivers/timer/Makefile +++ b/drivers/timer/Makefile @@ -5,7 +5,7 @@ obj-y += timer-uclass.o obj-$(CONFIG_AG101P_TIMER) += ag101p_timer.o obj-$(CONFIG_ALTERA_TIMER) += altera_timer.o -obj-$(CONFIG_ANDES_PLMT) += andes_plmt_timer.o +obj-$(CONFIG_ANDES_PLMT_TIMER) += andes_plmt_timer.o obj-$(CONFIG_ARC_TIMER) += arc_timer.o obj-$(CONFIG_AST_TIMER) += ast_timer.o obj-$(CONFIG_ATCPIT100_TIMER) += atcpit100_timer.o