spi_nor_init_flags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« NAME πŸ’«

spi_nor_init_flags β€” bestie, this is the function that initializes the NOR flags for all those settings that are not defined in the JESD216 SFDP standard. Which means they literally can't be retrieved when parsing SFDP. So somebody's gotta set them by hand, and that somebody is this function. Periodt.


✨ SYNOPSIS ✨

void spi_nor_init_flags (struct spi_nor *nor );

No cap, it returns void β€” it just goes in there and does the thing. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • nor β€” pointer to a struct spi_nor. That's the chip's whole little world right there, and this function is about to give it its flags. πŸ‘‘

🌈 SEE ALSO 🌈

Okay so this is the part where it's giving very "the whole friend group" energy β€” it's the kernel file ./drivers/mtd/spi-nor/core.c and literally every sibling function it rolls with:

Like, that's the entire roster. Go read them too, iykyk. πŸ’…


And that's the whole page, bestie β€” it's from the Kernel API Manual, section 9, living its best life over in ./drivers/mtd/spi-nor, and it was dated October 2026. Slay. πŸ¦‹βœ¨

πŸ“¦ where this page comes from