[PATCH 15/34] cbfs: Simplify file iteration

Simon Glass sjg at chromium.org
Sat Mar 27 04:18:24 CET 2021


In file_cbfs_next_file() there is a lot of complicated code to move to
the next file. Use the ALIGN() macros to simplify this.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 fs/cbfs/cbfs.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list