Add flashiap block device comment

pull/10108/head
Amir Cohen 2019-03-18 14:34:00 +02:00
parent 7fac0722a4
commit 4d6240d26e
1 changed files with 1 additions and 0 deletions

View File

@ -258,6 +258,7 @@ const char *FlashIAPBlockDevice::get_type() const
bool FlashIAPBlockDevice::is_valid_erase(bd_addr_t addr, bd_size_t size) const
{
/* Calculate address alignment for the full flash */
bd_addr_t base_addr = addr + (_base - _flash.get_flash_start());
return (