]> git.dujemihanovic.xyz Git - u-boot.git/commit
cbfs: Factor out filling a cache node into a new function
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 05:00:14 +0000 (18:00 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 00:59:37 +0000 (13:59 +1300)
commit70a394a6b6437e18e67edfd7054302b830e1fe6a
tree341e1d1ac8ec9a1a37dd09ef1688ec23012db68d
parentc4f5b5dcc31b5aee37dabbadc998fcf695885157
cbfs: Factor out filling a cache node into a new function

The file_cbfs_next_file() function is already fairly long. Before
expanding it further, move the core part into a separate function.

Signed-off-by: Simon Glass <sjg@chromium.org>
fs/cbfs/cbfs.c