diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-08-15 18:07:36 +0200 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-08-19 04:12:52 +0200 |
commit | 4ad85a9fea1ad5c401272102e68398f3bbdd20dd (patch) | |
tree | 9844e35ca53e8d199e6d81be4800a8df8803312c /arch/arm/lib/cache.c | |
parent | 97f4bc372f750fe4fba8b302f277e191a7157df0 (diff) |
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: 8ce6a2e17577 ("spl: blk: Support loading images from fs")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/lib/cache.c')
0 files changed, 0 insertions, 0 deletions