summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-08-19 10:13:28 -0400
committerTom Rini <[email protected]>2023-08-19 10:13:28 -0400
commit406a5ddf9d1b81c3cfb670ba9e4ed82ee3dc61fb (patch)
tree87cab590c511c8766b871ec52e05a4ae6fd36e5d /common
parente34efcf51df86eb2b07d9deb171596940586c666 (diff)
parent951d63000e2daf8b128139cfed343fe2b2da5a93 (diff)
Merge tag 'doc-2023-10-rc3-2' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request doc-2023-10-rc3-2 Documentation: * csf_examples: csf.sh: Remove unneeded export ATF_LOAD_ADDR line * printf() codes: correct format specifier for unsigned int * Fix typos in clk.h, irq.h. * Correct description of proftool Other: * Quieten test for erofs filesystem presence * spl: don't assume NVMe partition 1 exists
Diffstat (limited to 'common')
-rw-r--r--common/spl/spl_blk_fs.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/common/spl/spl_blk_fs.c b/common/spl/spl_blk_fs.c
index 16ecece7023..eb6f5266896 100644
--- a/common/spl/spl_blk_fs.c
+++ b/common/spl/spl_blk_fs.c
@@ -44,7 +44,6 @@ int spl_blk_load_image(struct spl_image_info *spl_image,
enum uclass_id uclass_id, int devnum, int partnum)
{
const char *filename = CONFIG_SPL_FS_LOAD_PAYLOAD_NAME;
- struct disk_partition part_info = {};
struct legacy_img_hdr *header;
struct blk_desc *blk_desc;
loff_t actlen, filesize;
@@ -59,11 +58,6 @@ int spl_blk_load_image(struct spl_image_info *spl_image,
blk_show_device(uclass_id, devnum);
header = spl_get_load_buffer(-sizeof(*header), sizeof(*header));
- ret = part_get_info(blk_desc, 1, &part_info);
- if (ret) {
- printf("spl: no partition table found. Err - %d\n", ret);
- goto out;
- }
dev.ifname = blk_get_uclass_name(uclass_id);
snprintf(dev.dev_part_str, sizeof(dev.dev_part_str) - 1, "%x:%x",