Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions drivers/mtd/spi-nor/controllers/bsp-sfc.c
Original file line number Diff line number Diff line change
Expand Up @@ -585,13 +585,6 @@ static int bsp_spi_nor_register(struct device_node *np,
nor->priv = priv;
nor->controller_ops = &bsp_controller_ops;

#ifndef CONFIG_CLOSE_SPI_8PIN_4IO
hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4 |
SNOR_HWCAPS_READ_1_4_4 |
SNOR_HWCAPS_PP_1_1_4 |
SNOR_HWCAPS_PP_1_4_4;
#endif

ret = spi_nor_scan(nor, NULL, &hwcaps);
if (ret)
return ret;
Expand Down
7 changes: 0 additions & 7 deletions drivers/mtd/spi-nor/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3416,13 +3416,6 @@ int bsp_spi_nor_resume(struct spi_nor *nor)
#endif
SNOR_HWCAPS_PP,
};
#ifndef CONFIG_CLOSE_SPI_8PIN_4IO
hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4 |
SNOR_HWCAPS_READ_1_4_4 |
SNOR_HWCAPS_PP_1_1_4 |
SNOR_HWCAPS_PP_1_4_4;
#endif

if (!info)
info = spi_nor_read_id(nor);

Expand Down