mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: srini@kernel.org
To: gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org, Sven Peter <sven@kernel.org>,
	Janne Grunau <j@jannau.net>,
	Srinivas Kandagatla <srini@kernel.org>
Subject: [PATCH 1/8] nvmem: apple: drop default ARCH_APPLE in Kconfig
Date: Sat, 12 Jul 2025 19:18:57 +0100	[thread overview]
Message-ID: <20250712181905.6738-2-srini@kernel.org> (raw)
In-Reply-To: <20250712181905.6738-1-srini@kernel.org>

From: Sven Peter <sven@kernel.org>

When the first driver for Apple Silicon was upstreamed we accidentally
included `default ARCH_APPLE` in its Kconfig which then spread to almost
every subsequent driver. As soon as ARCH_APPLE is set to y this will
pull in many drivers as built-ins which is not what we want.
Thus, drop `default ARCH_APPLE` from Kconfig.

Signed-off-by: Sven Peter <sven@kernel.org>
Reviewed-by: Janne Grunau <j@jannau.net>
Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
---
 drivers/nvmem/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig
index d370b2ad11e7..edd811444ce5 100644
--- a/drivers/nvmem/Kconfig
+++ b/drivers/nvmem/Kconfig
@@ -31,7 +31,6 @@ source "drivers/nvmem/layouts/Kconfig"
 config NVMEM_APPLE_EFUSES
 	tristate "Apple eFuse support"
 	depends on ARCH_APPLE || COMPILE_TEST
-	default ARCH_APPLE
 	help
 	  Say y here to enable support for reading eFuses on Apple SoCs
 	  such as the M1. These are e.g. used to store factory programmed
-- 
2.43.0


  reply	other threads:[~2025-07-12 18:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-12 18:18 [PATCH 0/8] nvmem: patches (set 1) for 6.17 srini
2025-07-12 18:18 ` srini [this message]
2025-07-12 18:18 ` [PATCH 2/8] dt-bindings: nvmem: fixed-layout: Allow optional bit positions srini
2025-07-12 18:18 ` [PATCH 3/8] nvmem: core: Fix typos in comments and MODULE_AUTHOR strings srini
2025-07-12 18:19 ` [PATCH 4/8] dt-bindings: nvmem: convert lpc1857-eeprom.txt to yaml format srini
2025-07-12 18:19 ` [PATCH 5/8] nvmem: make nvmem_bus_type constant srini
2025-07-12 18:19 ` [PATCH 6/8] dt-bindings: nvmem: SID: Add binding for A523 SID controller srini
2025-07-12 18:19 ` [PATCH 7/8] dt-bindings: nvmem: mediatek: efuse: split MT8186/MT8188 from base version srini
2025-07-12 18:19 ` [PATCH 8/8] dt-bindings: nvmem: convert vf610-ocotp.txt to yaml format srini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250712181905.6738-2-srini@kernel.org \
    --to=srini@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=j@jannau.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sven@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®