From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0B58AC636CC for ; Sun, 5 Feb 2023 22:44:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C2121859C8; Sun, 5 Feb 2023 23:40:25 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Fd6pRM8c"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 83989859AB; Sun, 5 Feb 2023 23:39:36 +0100 (CET) Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) (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 AFAEB85794 for ; Sun, 5 Feb 2023 23:39:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x136.google.com with SMTP id h18so4107126ilj.6 for ; Sun, 05 Feb 2023 14:39:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7Bb3JzISAdslWnn63PcK+ASd/SFF0dKQd/B1pEffNhg=; b=Fd6pRM8cvk+y+oP2fvQjRRwP+YdqDoy6FQ0wzkn83UqA5p+YEs0PHt8vuSWbhNx37O m6XU0xpDXI6KkYpbtVSKLvnJN3dBYkyzAqS/57iXEVE72V+fsfhe/M2vw2dau57YUI9E 87wEbdpTAmgT3sl1jXWiRnKwQGLRTuE58+hC4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7Bb3JzISAdslWnn63PcK+ASd/SFF0dKQd/B1pEffNhg=; b=PEpiSJOygYvYTQ9XmvVmN3UTp3bGWwLSuMe4NTzXMsqdrXSSlv+83imulWtnlCP4ho wBtLzMQlnqNyMrYe2hrIuJHxV+vOvlDORcDLjuVaZrM17E1UkueAAyR2ebsHHsz/iPNA A1+trq2CejqGZdkaDuLCeKksxdJc9Gi3SW8rFp8UDVkm4hxUWihdxQJiTwqfRQfRgmRF EBp8Xo4WLWrBEtP6A9Hg7UqCt6w6NwzPCrsRFXoNF7ji1e9TDxa+Ryfmlj3GnzLfG9ax UOY8DGFrnSHsRQqr4WOqAWEPKQ8Fuy6rJpcgO23BH8EcaXxxoqtvr4lElFWL2WDSFrwE 37CA== X-Gm-Message-State: AO0yUKVA4rn+69BEuzQrC2lE6NpcYswkeO47NQMfPBvV2nrLsKdMcnFq jd8wJsQ0qPTdJI3O3vbQrrAIcCqySLRuBPYU X-Google-Smtp-Source: AK7set+uxwde+0Aud4aReT9xS4N8xyo8aJYbUcSd8hc/DEtIpyvvc3N+WN7j2T8vgJxA1Jt7N4EKaA== X-Received: by 2002:a92:c544:0:b0:313:befa:e4b4 with SMTP id a4-20020a92c544000000b00313befae4b4mr2311841ilj.26.1675636742869; Sun, 05 Feb 2023 14:39:02 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id m40-20020a05663840a800b003b49e7d990asm2856393jam.30.2023.02.05.14.39.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:39:02 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 021/169] mediatek: Add a Kconfig for SPL_RESET_MEDIATEK Date: Sun, 5 Feb 2023 15:36:07 -0700 Message-Id: <20230205223836.231657-22-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230205223836.231657-1-sjg@chromium.org> References: <20230205223836.231657-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.6 at phobos.denx.de X-Virus-Status: Clean This is implicitly used in the source and seems useful, so add it. Signed-off-by: Simon Glass --- (no changes since v1) drivers/reset/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index e2affe20e34..64c3ea332b4 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -132,6 +132,10 @@ config RESET_MEDIATEK help Support for reset controller on MediaTek SoCs. +config SPL_RESET_MEDIATEK + def_bool n # Reset controller driver for MediaTek SoCs (SPL) + depends on SPL_DM_RESET && ARCH_MEDIATEK && SPL_CLK + config RESET_MTMIPS bool "Reset controller driver for MediaTek MIPS platform" depends on DM_RESET && ARCH_MTMIPS -- 2.39.1.519.gcb327c4b5f-goog