]> git.dujemihanovic.xyz Git - u-boot.git/commit
cbfs: Return the error code from file_cbfs_init()
authorSimon Glass <sjg@chromium.org>
Sun, 24 May 2020 23:38:21 +0000 (17:38 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 27 May 2020 06:40:09 +0000 (14:40 +0800)
commit0e7b6312e7c6780381612fe09a73c77f77e63c2d
tree86bf311dd1e2de0b65cfce44d9e2968375b29690
parentc685f8bcfcf097b1f46ea742a65765b7696a9a48
cbfs: Return the error code from file_cbfs_init()

We may as well return the error code and use it directly in the command
code. CBFS still uses its own error enum which we may be able to remove,
but leave it for now.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
cmd/cbfs.c
fs/cbfs/cbfs.c
include/cbfs.h