mtd: rawnand: stm32_fmc2: set available OOB bytes per page
authorChristophe Kerello <christophe.kerello@foss.st.com>
Tue, 12 Aug 2025 12:35:11 +0000 (14:35 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Mon, 25 Aug 2025 14:47:04 +0000 (16:47 +0200)
commit4c28c4d9a3a814cebb93e20842ed2c1c90f703d3
treee411b5c5d2b2a166f761a19e6657fa26200a69a1
parent7d879baa6f7ca201bcecff74f2a7545560289280
mtd: rawnand: stm32_fmc2: set available OOB bytes per page

File system such as YAFFS2 need to know the number of available
OOB bytes per page to be able to choose if they should locate their
metadata in the data area or in the spare area.

Signed-off-by: Christophe Kerello <christophe.kerello@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/mtd/nand/raw/stm32_fmc2_nand.c