All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [PATCH 14/34] cbfs: Factor out filling a cache node into a new function
Date: Fri, 26 Mar 2021 20:18:25 -0700	[thread overview]
Message-ID: <CAPnjgZ0Oa9ghVhcJpbL-VT-bAmgXJVDCK_qJPN1Sz2ifGJVpyg@mail.gmail.com> (raw)
In-Reply-To: <20210315173656.14.I2ac87c312fb65c1a107d2c772fe06788325d68e6@changeid>

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 | 45 +++++++++++++++++++++++++++++++++------------
 1 file changed, 33 insertions(+), 12 deletions(-)

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

  parent reply	other threads:[~2021-03-27  3:18 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-15  5:00 [PATCH 00/34] x86: Enhancements for booting from coreboot Simon Glass
2021-03-15  5:00 ` [PATCH 01/34] x86: coral: Free the ACPI GPIOs after using them Simon Glass
2021-03-15  5:00 ` [PATCH 02/34] x86: coral: Add information about building / running Simon Glass
2021-03-15  5:00 ` [PATCH 03/34] x86: p2sb: Drop LOG_DEBUG Simon Glass
2021-03-15  5:00 ` [PATCH 04/34] x86: Probe device if needed in intel_gpio_xlate() Simon Glass
2021-03-15  5:00 ` [PATCH 05/34] x86: coral: Put the eMMC first Simon Glass
2021-03-16 21:38   ` Jaehoon Chung
2021-03-27  3:18   ` Simon Glass
2021-03-15  5:00 ` [PATCH 06/34] x86: coral: Update the SD card-detect GPIO Simon Glass
2021-03-16 21:39   ` Jaehoon Chung
2021-03-27  3:18   ` Simon Glass
2021-03-15  5:00 ` [PATCH 07/34] tegra: i2c: Drop LOG_DEBUG Simon Glass
2021-03-15  5:00 ` [PATCH 08/34] mmc: pci_mmc: Set up the card detect Simon Glass
2021-03-15  5:00 ` [PATCH 09/34] cbfs: Add support for attributes Simon Glass
2021-03-15  5:00 ` [PATCH 10/34] cbfs: Rename new_node to node Simon Glass
2021-03-15  5:00 ` [PATCH 11/34] smbios: Allow writing to the coreboot version string Simon Glass
2021-03-15  5:00 ` [PATCH 12/34] cbfs: Allow access to CBFS without a header Simon Glass
2021-03-15  5:00 ` [PATCH 13/34] cbfs: Allow file traversal with any CBFS Simon Glass
2021-03-15  5:00 ` [PATCH 14/34] cbfs: Factor out filling a cache node into a new function Simon Glass
2021-03-15  5:00 ` [PATCH 15/34] cbfs: Simplify file iteration Simon Glass
2021-03-15  5:00 ` [PATCH 16/34] cbfs: Support reading compression information Simon Glass
2021-03-15  5:00 ` [PATCH 17/34] cbfs: Drop unnecessary cast in file_cbfs_fill_cache() Simon Glass
2021-03-15  5:00 ` [PATCH 18/34] x86: Make coreboot sysinfo available to any x86 board Simon Glass
2021-03-15  5:00 ` [PATCH 19/34] x86: Move coreboot timestamp info into coreboot_tables.h Simon Glass
2021-03-15  5:00 ` [PATCH 20/34] x86: coreboot: Sync up timestamp codes Simon Glass
2021-03-15  5:00 ` [PATCH 21/34] x86: Move coreboot sysinfo parsing into generic x86 code Simon Glass
2021-03-15  5:00 ` [PATCH 22/34] x86: coreboot: Update parsing of the latest sysinfo Simon Glass
2021-03-15  5:00 ` [PATCH 23/34] x86: Allow installing an e820 when booting from coreboot Simon Glass
2021-03-15  5:00 ` [PATCH 24/34] x86: Add a command to display coreboot sysinfo Simon Glass
2021-03-15  5:00 ` [PATCH 25/34] cmd: Add missing check for CONFIG_SYS_LONGHELP Simon Glass
2021-03-15  5:00 ` [PATCH 26/34] video: Fix video on coreboot with the copy buffer Simon Glass
2021-03-15  5:00 ` [PATCH 27/34] x86: video: Allow coreboot video to be used on any x86 board Simon Glass
2021-03-15  5:00 ` [PATCH 28/34] x86: fsp: Don't enable FSP graphics if booted from coreboot Simon Glass
2021-03-15  5:00 ` [PATCH 29/34] dm: core: Add CBFS support to flashmap Simon Glass
2021-03-15  5:00 ` [PATCH 30/34] x86: coral: Avoid build error with !CONFIG_ACPIGEN Simon Glass
2021-03-15  5:00 ` [PATCH 31/34] x86: coral: Allow init of debug UART in U-Boot proper Simon Glass
2021-03-15  5:00 ` [PATCH 32/34] x86: coral: Fall back to coreboot video when FSP missing Simon Glass
2021-03-15  5:00 ` [PATCH 33/34] x86: fsp: Don't notify if booted from coreboot Simon Glass
2021-03-15  5:00 ` [PATCH 34/34] x86: coreboot: Don't setup MTRR when booting " Simon Glass
2021-03-27  3:18 ` Simon Glass
2021-03-27  3:18 ` [PATCH 33/34] x86: fsp: Don't notify if booted " Simon Glass
2021-03-27  3:18 ` [PATCH 32/34] x86: coral: Fall back to coreboot video when FSP missing Simon Glass
2021-03-27  3:18 ` [PATCH 31/34] x86: coral: Allow init of debug UART in U-Boot proper Simon Glass
2021-03-27  3:18 ` [PATCH 30/34] x86: coral: Avoid build error with !CONFIG_ACPIGEN Simon Glass
2021-03-27  3:18 ` [PATCH 29/34] dm: core: Add CBFS support to flashmap Simon Glass
2021-03-27  3:18 ` [PATCH 28/34] x86: fsp: Don't enable FSP graphics if booted from coreboot Simon Glass
2021-03-27  3:18 ` [PATCH 27/34] x86: video: Allow coreboot video to be used on any x86 board Simon Glass
2021-03-27  3:18 ` [PATCH 26/34] video: Fix video on coreboot with the copy buffer Simon Glass
2021-03-27  3:18 ` [PATCH 25/34] cmd: Add missing check for CONFIG_SYS_LONGHELP Simon Glass
2021-03-27  3:18 ` [PATCH 24/34] x86: Add a command to display coreboot sysinfo Simon Glass
2021-03-27  3:18 ` [PATCH 23/34] x86: Allow installing an e820 when booting from coreboot Simon Glass
2021-03-27  3:18 ` [PATCH 22/34] x86: coreboot: Update parsing of the latest sysinfo Simon Glass
2021-03-27  3:18 ` [PATCH 21/34] x86: Move coreboot sysinfo parsing into generic x86 code Simon Glass
2021-03-27  3:18 ` [PATCH 20/34] x86: coreboot: Sync up timestamp codes Simon Glass
2021-03-27  3:18 ` [PATCH 19/34] x86: Move coreboot timestamp info into coreboot_tables.h Simon Glass
2021-03-27  3:18 ` [PATCH 18/34] x86: Make coreboot sysinfo available to any x86 board Simon Glass
2021-03-27  3:18 ` [PATCH 17/34] cbfs: Drop unnecessary cast in file_cbfs_fill_cache() Simon Glass
2021-03-27  3:18 ` [PATCH 15/34] cbfs: Simplify file iteration Simon Glass
2021-03-27  3:18 ` Simon Glass [this message]
2021-03-27  3:18 ` [PATCH 11/34] smbios: Allow writing to the coreboot version string Simon Glass
2021-03-27  3:18 ` [PATCH 10/34] cbfs: Rename new_node to node Simon Glass
2021-03-27  3:18 ` [PATCH 08/34] mmc: pci_mmc: Set up the card detect Simon Glass
2021-03-27  3:18 ` [PATCH 07/34] tegra: i2c: Drop LOG_DEBUG Simon Glass
2021-03-27  3:18 ` [PATCH 04/34] x86: Probe device if needed in intel_gpio_xlate() Simon Glass
2021-03-27  3:18 ` [PATCH 03/34] x86: p2sb: Drop LOG_DEBUG Simon Glass
2021-03-27  3:18 ` [PATCH 02/34] x86: coral: Add information about building / running Simon Glass
2021-03-27  3:18 ` [PATCH 01/34] x86: coral: Free the ACPI GPIOs after using them Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPnjgZ0Oa9ghVhcJpbL-VT-bAmgXJVDCK_qJPN1Sz2ifGJVpyg@mail.gmail.com \
    --to=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.