It was noted that a GPT partition with the maximum available partition number (ex: /dev/mmcblk128) can't be read/write from U-Boot using read/write commands. Futher investigation shows that the problem is deeper.
This set of patches fixes identified issues. Changes v1: * fix partition searching inside read/write commands Changes v2: * fix partition searching inside gpt command (thanks to Quentin Schulz) * fix mtdpart partition numbering Mikhail Kshevetskiy (3): disk: part: fix partition search boundaries cmd: gpt: fix partition search boundaries mtd: mtdpart: fix partitions searching cmd/gpt.c | 4 ++-- disk/part.c | 4 ++-- drivers/mtd/mtdpart.c | 7 ++++--- 3 files changed, 8 insertions(+), 7 deletions(-) -- 2.51.0

