Skip to content

Commit 0c25f4d

Browse files
Chris SnowChris Snow
authored andcommitted
Allow smaller blocks
1 parent 59d3f60 commit 0c25f4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/blockdevice/COMPONENT_SPIF/source/SPIFBlockDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ spif_bd_error SPIFBlockDevice::_spi_send_program_command(int prog_inst, const vo
566566
spif_bd_error SPIFBlockDevice::_spi_send_erase_command(int erase_inst, bd_addr_t addr, bd_size_t size)
567567
{
568568
tr_debug("Erase Inst: 0x%xh, addr: %llu, size: %llu", erase_inst, addr, size);
569-
addr = (((int)addr) & 0xFFFFF000);
569+
//addr = (((int)addr) & 0xFFFFF000);
570570
_spi_send_general_command(erase_inst, addr, NULL, 0, NULL, 0);
571571
return SPIF_BD_ERROR_OK;
572572
}

0 commit comments

Comments
 (0)