[PATCH 1/1] spl: don't assume NVMe partition 1 exists

Tom Rini trini at konsulko.com
Tue Aug 15 22:23:52 CEST 2023

On Tue, Aug 15, 2023 at 06:07:36PM +0200, Heinrich Schuchardt wrote:

> There is no requirement that a partition 1 exists in a partition table.
> We should not try to retrieve information about it.
> We should not even try reading with partition number
> CONFIG_SYS_NVME_BOOT_PARTITION here as this is done in the fs_set_blk_dev()
> call anyway.
> Fixes: 8ce6a2e17577 ("spl: blk: Support loading images from fs")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230815/55567474/attachment.sig>

More information about the U-Boot mailing list