u-boot/common/spl
Heinrich Schuchardt 4ad85a9fea 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: 8ce6a2e175 ("spl: blk: Support loading images from fs")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
2023-08-19 04:12:52 +02:00
..
Kconfig spl: move SPL_CRC32 option to lib/Kconfig 2023-08-07 13:41:44 -04:00
Kconfig.nxp global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
Kconfig.tpl tpl: Kconfig: TPL_BANNER_PRINT depends on DEBUG_UART && TPL_SERIAL 2023-07-07 16:25:56 -04:00
Kconfig.vpl vbe: Add Kconfig options for VPL 2022-10-31 11:03:59 -04:00
Makefile common: spl: Add spl NVMe boot support 2023-06-19 17:47:41 -04:00
spl.c spl: initialize PCI before booting 2023-07-30 18:53:08 +02:00
spl_atf.c Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
spl_blk_fs.c spl: don't assume NVMe partition 1 exists 2023-08-19 04:12:52 +02:00
spl_bootrom.c spl: pass args to board_return_to_bootrom 2019-10-08 16:35:16 +02:00
spl_dfu.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
spl_ext.c spl: ext: Use partition size for mount 2023-06-14 12:56:10 -04:00
spl_fat.c treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
spl_fit.c imx: hab: Simplify the mechanism 2023-06-24 13:47:02 -04:00
spl_legacy.c spl: spl_legacy: Fix spl_end address 2023-07-03 10:20:13 -04:00
spl_mmc.c global: Use proper project name U-Boot 2023-06-12 13:24:31 +02:00
spl_nand.c global: Move remaining CONFIG_SYS_NAND_* to CFG_SYS_NAND_* 2022-12-05 16:05:38 -05:00
spl_net.c treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
spl_nor.c spl: spl-nor: return error if no valid image was loaded 2023-06-20 13:02:34 -04:00
spl_nvme.c spl: initialize PCI before booting 2023-07-30 18:53:08 +02:00
spl_onenand.c treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
spl_opensbi.c spl: opensbi: convert scratch options to config 2022-08-11 18:46:41 +08:00
spl_optee.S Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
spl_ram.c arm64: zynqmp: Switch to amd.com emails 2023-07-21 09:00:38 +02:00
spl_sata.c spl: sata: Rework the loading case it not use IS_ENABLED(...) 2023-01-20 12:27:06 -05:00
spl_sdp.c spl: sdp: Pass the USB index to board_usb_init() 2022-07-14 16:13:11 +02:00
spl_semihosting.c treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
spl_spi.c global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
spl_ubi.c global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
spl_usb.c blk: Rename if_type to uclass_id 2022-09-25 08:30:05 -06:00
spl_xip.c global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
spl_ymodem.c treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00