STRUCT SPI_NOR_ID(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, meet struct spi_nor_id β€” the SPI NOR flash ID situation. this whole page is struct spi_nor_id(9), and it’s lowkey iconic πŸ’–


✨ SYNOPSIS ✨

       struct spi_nor_id {
           const u8 *bytes;
           u8 len;
        };

πŸŽ€ Members πŸŽ€

  • bytes β€” the bytes the flash hands back when you issue command 9F. typically, the first byte is the manufacturer ID code (see JEP106) and the next two bytes are a flash part specific ID. slay πŸ¦‹
  • len β€” the number of bytes of ID. that’s the count, periodt πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/mtd/spi-nor/core.h plus these absolute faves: 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 flash_info(9), struct spi_nor_manufacturer(9), struct sfdp(9), spi_nor_needs_sfdp(9).


source/version: ./drivers/mtd/spi-nor Β· date: October 2026 Β· page: struct spi_nor_id(9) β€” mwah, stay slay πŸ’…βœ¨

πŸ“¦ where this page comes from