From patchwork Mon Oct 26 01:46:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 1387424 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=cIspvJD2; 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 4CKHlQ05D0z9sSs for ; Mon, 26 Oct 2020 12:47:29 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 955A1824B9; Mon, 26 Oct 2020 02:47:11 +0100 (CET) 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="cIspvJD2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CC02C82494; Mon, 26 Oct 2020 02:47:07 +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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) (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 84E9482483 for ; Mon, 26 Oct 2020 02:47:04 +0100 (CET) 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-x842.google.com with SMTP id i7so5022997qti.6 for ; Sun, 25 Oct 2020 18:47:04 -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=/2UhU6JJe4ONCZ37MUGBjCtNqlG58WfTx3Yvppd6l8Q=; b=cIspvJD2SbScJ/y0YsdD0MQlPn/6TpBAGYP6eCFUNZ5TZosmDXJLehpvKiuyMV3HKe a18KDFLl8Raoe1SmXQwNLMtKM1702I736BAcNuHSwMcsw/0r/48cTmeea5oBYBNGfUnd YnryYfTIrbutPOkUoKTU9+Te+TI5ZaCSTTAR7YqpdUQSMAmXs7la6BFApI2y3ZUMeW70 0r6+Kv6dhTy3LO7s5xpKTrt661y098r/68ND03xTOjR9HFNZtRp2Dw7+c1g8hv+4mOK5 llqYcDeJmXYoJHeaI0xqyNDRqF2smaLgmfy8iBgO2Of4xHkTI72ETrZjD/PJ8C+WEPWB 2aew== 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=/2UhU6JJe4ONCZ37MUGBjCtNqlG58WfTx3Yvppd6l8Q=; b=DfF3sqEnBtDusJ34CMit8XGEOLQhRgVDX/qWVh5vAP41Q3zcESqA4WpYvUyLfVHUJE rBIQThYXoLtVv5zSTYUT+Kul5F9w7v9sNpM8iMcKxg522SjIlQhKTH/xVyAkUyz8fpMV u7EFFoqy31HHW2fBsJwbmKnjTs1PSmC4KLi8Pybww/5rDgKu7bD0MWvncaQYGXg799Nq gokhmcdippUh2AAC8CXp22qYpx5S/9PfQ7Sjk7/CHX4Uz5SWvqfKryZVpB71npAHhhr3 NDwRcSDHV0p/4yFnvQkoe7rfwIkFqJxd1+1pjOGbG5o8RNMdT3I948KsTvX7FTF2xSd1 UtUA== X-Gm-Message-State: AOAM530HdOeSJWYP0YK4VqeOAp63QAGUD1uBiwzAJwQFk7oV5aA+/fhE tdSUi2fYxt1U9gUlcacbWPrFDD/ijqE6bToi X-Google-Smtp-Source: ABdhPJyc45vLcHZe44G8GjPi5VSRchMenNBxkY5z9nLOKZ0WiCQRU0C9vF3wSGJN0/jNrOngXbggbw== X-Received: by 2002:ac8:27e7:: with SMTP id x36mr13606234qtx.131.1603676823247; Sun, 25 Oct 2020 18:47:03 -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 k15sm5840964qtq.11.2020.10.25.18.47.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Oct 2020 18:47:02 -0700 (PDT) From: Sean Anderson To: u-boot@lists.denx.de Cc: Simon Glass , Rick Chen , Bin Meng , Pragnesh Patel , Sean Anderson , Rick Chen Subject: [PATCH v2 2/3] timer: Add _TIMER suffix to Andes PLMT Kconfig Date: Sun, 25 Oct 2020 21:46:57 -0400 Message-Id: <20201026014658.609304-3-seanga2@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201026014658.609304-1-seanga2@gmail.com> References: <20201026014658.609304-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 --- (no changes since v1) 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 6b8e4c9dc0..80743a2551 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 dd4f9cc1d4..226227c8ec 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