RE: [PATCH] stm32mp: stm32prog: accept device without partition

2020-10-21 Thread Patrick DELAUNAY
Hi, > From: Patrick DELAUNAY > Sent: jeudi 15 octobre 2020 14:28 > > When partitions are not available on a device the command stm32prog raises an > error but a device can have no partition to check in init_device() and the > command > need to continue to the next part_id. > > This patch corre

Re: [PATCH] stm32mp: stm32prog: accept device without partition

2020-10-21 Thread Patrice CHOTARD
Hi Patrick On 10/15/20 2:28 PM, Patrick Delaunay wrote: > When partitions are not available on a device the command stm32prog raises > an error but a device can have no partition to check in init_device() > and the command need to continue to the next part_id. > > This patch correct an issue for r

[PATCH] stm32mp: stm32prog: accept device without partition

2020-10-15 Thread Patrick Delaunay
When partitions are not available on a device the command stm32prog raises an error but a device can have no partition to check in init_device() and the command need to continue to the next part_id. This patch correct an issue for ram0 target, when block_dev and mtd are NULL. For example with the