Skip to content
Commit 4ad85a9f authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

spl: don't assume NVMe partition 1 exists



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: 8ce6a2e1 ("spl: blk: Support loading images from fs")
Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 97f4bc37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment