Get rid of write_size error when write_size==word_size

This commit is contained in:
mrg 2021-05-28 13:06:12 -07:00
parent 77f221d859
commit d6d0df97f8
1 changed files with 1 additions and 1 deletions

View File

@ -607,7 +607,7 @@ def report_status():
# If a write mask is specified by the user, the mask write size should be the same as
# the word size so that an entire word is written at once.
if OPTS.write_size is not None:
if OPTS.write_size is not None and OPTS.write_size != OPTS.word_size:
if (OPTS.word_size % OPTS.write_size != 0):
debug.error("Write size needs to be an integer multiple of word size.")
# If write size is more than half of the word size,