Skip to content

drivers: flash: spi_nor: values vom DT not correctly used, when CONFIG_SPI_NOR_SFDP_RUNTIME=y #80383

@maass-hamburg

Description

@maass-hamburg

Describe the bug

when CONFIG_SPI_NOR_SFDP_RUNTIME=y, configs from the dts like the wp, hold and reset pins are not parsed correctly into the struct spi_nor_config and therefore can't be used by the driver.

To Reproduce
set CONFIG_SPI_NOR_SFDP_RUNTIME=y, when using the jedec,spi-nor flash driver

Expected behavior
dts configuration is used correctly

Impact
most of the available configuration, that can be done via the dts wont work when CONFIG_SPI_NOR_SFDP_RUNTIME=y,

Logs and console output

Environment (please complete the following information):
NA

Additional context
Got introduced with #70415

Metadata

Metadata

Assignees

Labels

area: FlashbugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions