Skip to content
Permalink
Browse files

drivers/spi_nor: remove write-block-size devicetree property

Devices using this driver do not require any special alignment for
writes.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
  • Loading branch information...
pabigot authored and galak committed Jul 20, 2019
1 parent 2a590d3 commit 50550e02c00ca6f258c84c9578320629900d2ea4
@@ -55,7 +55,6 @@
label = "MX25UM512";
jedec-id = <0xc2 0x80 0x3a>;
size = <0x2000000>;
write-block-size = <1>;
};
};

@@ -380,7 +380,7 @@ static const struct flash_driver_api spi_nor_api = {
#if defined(CONFIG_FLASH_PAGE_LAYOUT)
.page_layout = spi_nor_pages_layout,
#endif
.write_block_size = DT_JEDEC_SPI_NOR_0_WRITE_BLOCK_SIZE,
.write_block_size = 1,
};

static const struct spi_nor_config flash_id = {
@@ -26,11 +26,6 @@ properties:
category: optional
description: Indicates the device supports the BE32K command

write-block-size:
type: int
description: address alignment required by flash write operations
category: optional

size:
type: int
category: optional

0 comments on commit 50550e0

Please sign in to comment.
You can’t perform that action at this time.