Remove ROM overlaps checkup for kvstore FLASHIAP blockdevice if non default values are use

pull/9370/head
Yossi Levy 2018-12-26 12:08:34 +02:00 committed by adbridge
parent cf12140031
commit db22ce9b6c
1 changed files with 0 additions and 5 deletions

View File

@ -270,11 +270,6 @@ BlockDevice *_get_blockdevice_FLASHIAP(bd_addr_t start_address, bd_size_t size)
if (start_address != 0) {
if (start_address < flash_first_writable_sector_address) {
tr_error("KV Config: Internal block device start address overlapped ROM address ");
flash.deinit();
return NULL;
}
aligned_start_address = align_down(start_address, flash.get_sector_size(start_address));
if (start_address != aligned_start_address) {
tr_error("KV Config: Internal block device start address is not aligned. Better use %02llx", aligned_start_address);