From patchwork Mon Oct 24 18:17:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 13017939 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 95A11ECAAA1 for ; Mon, 24 Oct 2022 18:19:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=349Eh3PrJ6MysIaxP1RHuuVWujXqYwKqaNiX0l316aU=; b=w1AjR5AzWPKPI/ wBpf7GO+D3pjwkc7FbKjlhG+FiyApGwaHbHo/tybcXG92nvVZhG+G5SC5ymyrmWU4SRPh9hzNVW70 kSXt0LDfb05rjCy4mmIXwKeajWvXJgNYdmQGDdbrhlUx9jyZ370INVqJTfXpxw3+VDULjQwwD6cBa QoVjPmWKqIEuyc/INEZK1LrnvOnztiwAlo0fR140siAZCjn9xuXNVr7hU2SluJOCSA07M5EaFSZzN QXeteoaK4bIza406YRpoIJT14ldXwegCOo/FGXyL2G2GbeYoDcU6GV8eMs+YVupLvTWVRtbJISuIY MKW3wW4QNWm8mDz+AwLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1on21p-002dOA-3F; Mon, 24 Oct 2022 18:18:25 +0000 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1on21m-002dNl-IM for linux-arm-kernel@lists.infradead.org; Mon, 24 Oct 2022 18:18:23 +0000 Received: by mail-pf1-x42f.google.com with SMTP id 192so2496134pfx.5 for ; Mon, 24 Oct 2022 11:18:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=RuKI5bp1FsoKhoX8KTyHPCH/WRbZz2nZbg0xRSkPhiI=; b=SAsToB0UY7YN+KrCipRGgiZP1WEESaE1EbzE7YzlXSzfhgOGP7hTTSg70BQopQlwi4 j6h90asxgIpL99oGuXu0An6MsIVKP7y3kYBRMbpgPIkwHCNSuKEyr/f2IfqU+GjkaXGD EsPAgBL8w1tviNqPYB0W0zyrCBlgiS3nxM18o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RuKI5bp1FsoKhoX8KTyHPCH/WRbZz2nZbg0xRSkPhiI=; b=HgIb7aFNAEEb/iNOukW3Z3m/0k/0lbnqwowR6oPgANRSyLIoqwJxnv1Qj9VDe0Z7lW BHQzgGWF8W1jzwxCLr9M/0mSsB8ZF7JzV52cICtB+KkGbZa4dg0RHWM/ydE/AMGs5jAl 9GCRyDEUOmqhUX3/zDyEDLA8hHjE89b081dxNqiDp7KR9kRXOHfaGrdW2O7eQBkBSClX m5YsxfPkvoPL9V6ATDhH3c3Am1E61WDlkIs+RL3A6UArYxZL0BNW1V0qAtlyejAlMtIY //DYzrfztHbmr7e0Y5ftebV898fpwROWZmggrqDhx0vIWrKLwCofrHM86wG5gkiLOBxT +Jxg== X-Gm-Message-State: ACrzQf0x7p0IOMvk3IA9hCWbFBEE5VYqN8WD/CA6EKx1SIJx9jBubEDF 5k7vOrPt6DgtHd2x5d8r+rO0JQ== X-Google-Smtp-Source: AMsMyM7xgKD8kYLElBTTogulLA2Q1qFTwpJDSgq2Zx98nTCDWRpU4D0HA+WUrBGwpTveEjwvBfE3NQ== X-Received: by 2002:a63:581b:0:b0:464:a9a6:571b with SMTP id m27-20020a63581b000000b00464a9a6571bmr6774778pgb.560.1666635501718; Mon, 24 Oct 2022 11:18:21 -0700 (PDT) Received: from localhost ([2620:15c:9d:2:808b:e2f6:edcf:ccb0]) by smtp.gmail.com with UTF8SMTPSA id a18-20020a170902b59200b00186b1bfbe79sm60642pls.66.2022.10.24.11.18.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Oct 2022 11:18:21 -0700 (PDT) From: Brian Norris To: Ulf Hansson , Florian Fainelli Cc: Al Cooper , linux-kernel@vger.kernel.org, Adrian Hunter , linux-arm-kernel@lists.infradead.org, Broadcom internal kernel review list , linux-mmc@vger.kernel.org, Brian Norris Subject: [PATCH] mmc: sdhci-brcmstb: Allow building with COMPILE_TEST Date: Mon, 24 Oct 2022 11:17:59 -0700 Message-Id: <20221024181759.2355583-1-briannorris@chromium.org> X-Mailer: git-send-email 2.38.0.135.g90850a2211-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221024_111822_641568_62ED87AF X-CRM114-Status: GOOD ( 13.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This driver is pretty simple, and it can be useful to build it (for validation purposes) without BMIPS or ARCH_BRCMSTB. It technically depends on CONFIG_OF to do anything useful at runtime, but it still works out OK for compile-testing using the !OF stubs. Signed-off-by: Brian Norris Acked-by: Florian Fainelli Acked-by: Adrian Hunter --- drivers/mmc/host/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index f324daadaf70..453fba8d2d9d 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -1040,10 +1040,10 @@ config MMC_SDHCI_MICROCHIP_PIC32 config MMC_SDHCI_BRCMSTB tristate "Broadcom SDIO/SD/MMC support" - depends on ARCH_BRCMSTB || BMIPS_GENERIC + depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST depends on MMC_SDHCI_PLTFM select MMC_CQHCI - default y + default ARCH_BRCMSTB || BMIPS_GENERIC help This selects support for the SDIO/SD/MMC Host Controller on Broadcom STB SoCs.