u-boot/fs
Simon Glass 924e346a66 cbfs: Change file_cbfs_find_uncached() to return an error
This function currently returns a node pointer so there is no way to know
the error code. Also it uses data in BSS which seems unnecessary since the
caller might prefer to use a local variable.

Update the function and split its body out into a separate function so we
can use it later.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2020-05-27 14:40:09 +08:00
..
btrfs common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
cbfs cbfs: Change file_cbfs_find_uncached() to return an error 2020-05-27 14:40:09 +08:00
cramfs common: Drop flash.h from common header 2020-05-18 14:53:28 -04:00
ext4 common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fat common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
jffs2 common: Drop flash.h from common header 2020-05-18 14:53:28 -04:00
reiserfs part: Drop disk_partition_t typedef 2020-05-18 17:33:33 -04:00
sandbox common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
ubifs common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
yaffs2 common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
zfs common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fs_internal.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fs.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Kconfig fs: btrfs: Add U-Boot fs handlers. 2017-10-02 21:52:18 -04:00
Makefile cbfs: Allow CBFS to be used in SPL 2019-08-18 21:54:10 +08:00