spi_nor_needs_sfdp(9)
β¨ spi_nor_needs_sfdp(9) β¨
Okay bestie, so we're in the kernel API manual, specifically section 9, and today's main character is spi_nor_needs_sfdp π
πΈ NAME πΈ
spi_nor_needs_sfdp β returns true if SFDP parsing is used for this flash.
Like, it literally just tells you whether SFDP parsing is the vibe for this particular flash. Simple queen behavior π
π¦ SYNOPSIS π¦
bool spi_nor_needs_sfdp (const struct spi_nor *nor );
π ARGUMENTS π
norβ ngl bestie, the manpage says-- undescribed --so that's literally all we get π it's aconst struct spi_nor *and we're just gonna have to live with that mystery.
β RETURN β
true if SFDP parsing is needed π₯ (that's it, that's the whole return value β no cap)
π«Ά SEE ALSO π«Ά
Kernel file ./drivers/mtd/spi-nor/core.h and honestly a whole friend group of structs, all of them iconic:
struct spi_nor_erase_type(9)struct spi_nor_erase_command(9)struct spi_nor_erase_region(9)struct spi_nor_erase_map(9)struct spi_nor_locking_ops(9)struct spi_nor_otp_organization(9)struct spi_nor_otp_ops(9)struct spi_nor_otp(9)struct spi_nor_flash_parameter(9)struct spi_nor_fixups(9)struct spi_nor_id(9)struct flash_info(9)struct spi_nor_manufacturer(9)struct sfdp(9)
π reminder thatnoris literally listed as-- undescribed --in the source, so if you came here for the lore, the lore is missing. iykyk π
πΈ that's the whole page bestie, hope it slayed πΈ
This cutie came out of ./drivers/mtd/spi-nor and the page is dated October 2026 β and the whole thing is filed under spi_nor_needs_sfdp(9) in the Kernel API Manual πβ¨ stay hydrated, go read your structs, mwah π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms