]> git.baikalelectronics.ru Git - uboot.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)
commit0bf39e4dd17f382093809bf5039f63f893d707ba
tree341e1d1ac8ec9a1a37dd09ef1688ec23012db68d
parent37f4732974aace0eb5e38962932d5f38ccd03c9a
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