commit | db65d247ffbe3ce5b82ee1190add6c147d0b0487 | [log] [tgz] |
---|---|---|
author | Christian Marangi <ansuelsmth@gmail.com> | Mon Apr 07 22:01:54 2025 +0200 |
committer | Tom Rini <trini@konsulko.com> | Wed Apr 16 19:57:19 2025 -0600 |
tree | a4c134806236664831cd3d23c5ca01632f22aa16 | |
parent | d61a28dec0abe59c95d6867651cf3e09f10e733a [diff] |
spi: Introduce setup_for_spinand() A common device attached to SPI are SPI NAND and some device might require to have info on the attached NAND to know the flash page size and spare size. To support this, introduce setup_for_spinand() that pass the attached spinand info from manufacturer. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> [trini: Switch to forward declaration of struct spinand_info] Signed-off-by: Tom Rini <trini@konsulko.com>