spi_nor_init...s_deprecated(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ spi_nor_init...s_deprecated(9) β€” the Kernel API Manual glow-up ✨

okay bestie, sit down, we're reading a kernel API page together πŸ’… this one lives in the Kernel API Manual, and the star of the show is a function whose name is genuinely so long it needs its own zip code. yes it's deprecated. no we're not skipping it. let's go 🫢


πŸ’– NAME πŸ’–

spi_nor_init_params_deprecated β€” the deprecated way of initializing flash parameters and settings. that's it, that's the vibe. lowkey an antique πŸ•°οΈ


🌸 SYNOPSIS 🌸

void spi_nor_init_params_deprecated (struct spi_nor *nor );

void return, no cap. it just does the thing and leaves πŸ™ˆ


πŸŽ€ ARGUMENTS πŸŽ€

  • nor β€” a pointer to a struct spi_nor. that's your lil flash baby right there, and this is the one job you have: hand it over 🫴

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• this method is out here assuming your flash doesn't support SFDP. like, it just assumes. bold of it, honestly πŸ‘‘

because of that assumption, it initializes the flash parameters inside spi_nor_no_sfdp_init_params β€” and those params can later on get overwritten when SFDP is parsed, if it's supported. so it's giving "starter settings, will revise later" energy ✨

fr fr remember: this whole function is deprecated β€” the name literally tells you 😭 use it knowing it's legacy, bestie.

🌈 SEE ALSO 🌈

if you're going down this rabbit hole, here's the whole neighborhood 🏘️ plus the kernel file it lives in: ./drivers/mtd/spi-nor/core.c


and that's the whole page, bestie, you ate that πŸ“ this lil number comes to you from ./drivers/mtd/spi-nor, dated October 2026 β€” mwah, see you in the next manpage πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from