Thread (10 messages) 10 messages, 5 authors, 2025-06-11

Re: [PATCH v3 1/3] mtd: spi-nor: sfdp: parse SFDP SST vendor map and register EUI addresses into NVMEM framework

From: "Michael Walle" <mwalle@kernel.org>
Date: 2025-06-11 06:49:14
Also in: linux-devicetree, lkml

On Mon Jun 9, 2025 at 10:04 AM CEST, Tudor Ambarus wrote:
Hi,

On 5/21/25 8:03 AM, Manikandan Muralidharan wrote:
quoted
 drivers/mtd/spi-nor/sfdp.c  | 161 ++++++++++++++++++++++++++++++++++++
 include/linux/mtd/spi-nor.h |   7 ++
 2 files changed, 168 insertions(+)
Please find a way to move the vendor specific handling to a vendor file,
don't pollute the core drivers.
IIRC I've suggested to move the handling into the core, but it
should be more generic, not handling any MAC address related things,
but more like a framework/helper functions to expose anything
related to SFDP.

-michael
In what concerns the nvmem idea, I find
it fine. Michael may comment more on it as I think he dealt with a
similar use case in the past.

Cheers,
ta
  

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help