This came up in #20194 and was raised by @mnkp in comment #20194 (comment) :
Since Default board configuration guidelines generally require to configure all major components available on the evaluation board maybe we should ensure that spi_nor driver is enabled if flash subsystem is enabled.
See https://docs.zephyrproject.org/latest/guides/porting/board_porting.html#default-board-configuration
On-board spi-nor-flash is present in some board's device tree, e.g. nrf52840_pca10056, see https://github.com/zephyrproject-rtos/zephyr/blob/master/boards/arm/nrf52840_pca10056/nrf52840_pca10056.dts#L194
But the configuration CONFIG_SPI_NOR=y is not set in the board's configuration, only in the sample drivers/spi_flash
This is the case for all boards with spi-nor-flash populated. It is only in the device tree, but the driver is not enabled in the configuration.
Is this indented that spi-nor-flash is not enabled in the board configuration?
If it is, i think it should be documented on the board_porting page.