spi_nor_post_sfdp_fixups(9)
β¨ spi_nor_post_sfdp_fixups β Kernel API Manual β¨
okay bestie, so this is spi_nor_post_sfdp_fixups(9) from the Kernel API Manual, and honestly? she's a lil cleanup queen π
πΈ NAME πΈ
spi_nor_post_sfdp_fixups β updates the flash's parameters and settings after SFDP has been parsed. and like, she's only called for flashes that define JESD216 SFDP tables, so if your flash doesn't have those, she simply does not know you π
π¦ SYNOPSIS π¦
int spi_nor_post_sfdp_fixups (struct spi_nor *nor );
π ARGUMENTS π
norβ pointer to astruct spi_nor. that's it, that's the whole vibe check for args π«Ά
π DESCRIPTION π
so what she actually does? she's used to tweak various flash parameters when the info the SFDP tables handed over is, um, wrong π not "wrong" like messy-wrong, wrong-wrong. the SFDP tables said something and it's just not it, so this function comes in and fixes the settings. lowkey iconic that someone has to double-check the tables' homework, but here we are β¨
π₯ SEE ALSO π₯
okay this is the whole group chat, and yes you're gonna meet every single one of them, no skipping, we don't do that here π
- the kernel file
./drivers/mtd/spi-nor/sfdp.c spi_nor_read_raw(9)spi_nor_read_sfdp(9)spi_nor_read_sfdp_dma_unsafe(9)spi_nor_set_erase_settings_from_bfpt(9)spi_nor_map_cmp_erase_type(9)spi_nor_sort_erase_mask(9)spi_nor_regions_sort_erase_types(9)spi_nor_parse_bfpt(9)spi_nor_smpt_addr_nbytes(9)spi_nor_smpt_read_dummy(9)spi_nor_get_map_in_use(9)spi_nor_region_check_overlay(9)spi_nor_init_non_uniform_erase_map(9)spi_nor_parse_smpt(9)spi_nor_parse_4bait(9)spi_nor_parse_profile1(9)spi_nor_parse_sccr(9)spi_nor_parse_sccr_mc(9)spi_nor_check_sfdp_signature(9)spi_nor_parse_sfdp(9)
fr fr that's the whole list, every single one, go read 'em π§
and that's the page babes π sign-off time: this one lives under the source path ./drivers/mtd/spi-nor, dated October 2026, and she's spi_nor_post_sfdp_fixups(9) forever and always πβ¨π
π¦ 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