Skip to content

Commit 1706383

Browse files
author
Cruz Monrreal
authored
Merge pull request #9198 from yossi2le/yossi_bug_723
Fixing bug - overwrite of default configuration values for RBP start address and size fails
2 parents d425ec5 + d934b1b commit 1706383

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

features/storage/kvstore/conf/kv_config.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -270,11 +270,6 @@ BlockDevice *_get_blockdevice_FLASHIAP(bd_addr_t start_address, bd_size_t size)
270270

271271
if (start_address != 0) {
272272

273-
if (start_address < flash_first_writable_sector_address) {
274-
tr_error("KV Config: Internal block device start address overlapped ROM address ");
275-
flash.deinit();
276-
return NULL;
277-
}
278273
aligned_start_address = align_down(start_address, flash.get_sector_size(start_address));
279274
if (start_address != aligned_start_address) {
280275
tr_error("KV Config: Internal block device start address is not aligned. Better use %02llx", aligned_start_address);

0 commit comments

Comments
 (0)