Re: [PATCH] cmd: sf: Fix the flash_is_unlocked api size parameter

2023-09-18 Thread Michal Simek
On 9/5/23 05:43, Venkatesh Yadav Abbarapu wrote: When we pass the size parameter to the command "sf erase", please avoid we flash_is_unlocked() api is getting updated with length which is incorrect. Fix this flash_is_unlocked() api by passing the size parameter. ZynqMP> sf erase 0 10

[PATCH] cmd: sf: Fix the flash_is_unlocked api size parameter

2023-09-04 Thread Venkatesh Yadav Abbarapu
When we pass the size parameter to the command "sf erase", flash_is_unlocked() api is getting updated with length which is incorrect. Fix this flash_is_unlocked() api by passing the size parameter. ZynqMP> sf erase 0 10 len=0x800 which is flash size size=0x10 We need to update the siz