On 4/12/23 09:13, Ashok Reddy Soma wrote:
For sf commands, when '0' length is passed for erase, update, write or
read, we might see undesired results. Ideally '0' length means nothing to

Use imperative mode.

do.

So print 'size is 0' and return cmd failure when length '0' is passed to sf
commands. Samething applies for nand commands also.

typo


Example:

ZynqMP> sf erase 0 0
'size is 0'

I don't think '' around is helping with anything.

I would even change the message to be more accurate.

what about just?
invalid size


Thanks,
Michal

Reply via email to