fs: Rename fs_read() to fs_legacy_read()

This existing function does not have any context associated with it.
Rename it so that fs_read() can be used for the new FS uclass.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-06-25 06:16:27 -06:00
parent 56c6289442
commit 8630e568b2
18 changed files with 43 additions and 35 deletions

View File

@@ -32,8 +32,8 @@ static ulong spl_fit_read(struct spl_load_info *load, ulong file_offset,
return ret;
}
ret = fs_read(dev->filename, virt_to_phys(buf), file_offset, size,
&actlen);
ret = fs_legacy_read(dev->filename, virt_to_phys(buf), file_offset,
size, &actlen);
if (ret < 0) {
printf("spl: error reading image %s. Err - %d\n",
dev->filename, ret);