spi_nor_needs_sfdp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 a const 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 that nor is 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