aboutsummaryrefslogtreecommitdiff
path: root/include/fat.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt2023-01-19 15:37:40 +0100
committerHeinrich Schuchardt2023-01-20 16:38:52 +0100
commitde9433550b01547c3207de9f7060092242c91569 (patch)
tree66d95ac2cb225563968eb63f775b74e936634426 /include/fat.h
parent53c47c59e638cc118c272235db516bb541dad0ac (diff)
fs/fat: avoid noisy message fat_read_file()
UEFI applications call file system functions to determine if a file exists. The return codes are evaluated to show appropriate messages. U-Boot's file system layer should not interfere with the output. Rename file_fat_read_at() to fat_read_file() adjusting the parameter sequence and names and eliminate the old wrapper function. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'include/fat.h')
-rw-r--r--include/fat.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/fat.h b/include/fat.h
index bd8e450b33a..a9756fb4cd1 100644
--- a/include/fat.h
+++ b/include/fat.h
@@ -200,8 +200,6 @@ static inline u32 sect_to_clust(fsdata *fsdata, int sect)
int file_fat_detectfs(void);
int fat_exists(const char *filename);
int fat_size(const char *filename, loff_t *size);
-int file_fat_read_at(const char *filename, loff_t pos, void *buffer,
- loff_t maxsize, loff_t *actread);
int file_fat_read(const char *filename, void *buffer, int maxsize);
int fat_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info);
int fat_register_device(struct blk_desc *dev_desc, int part_no);