All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 00/13] x86: cbfs: Various clean-ups to CBFS implementation
@ 2020-05-24 23:38 Simon Glass
  2020-05-24 23:38 ` [PATCH v4 01/13] cbfs: Rename the result variable Simon Glass
                   ` (13 more replies)
  0 siblings, 14 replies; 20+ messages in thread
From: Simon Glass @ 2020-05-24 23:38 UTC (permalink / raw)
  To: u-boot

This code is very old and has not had much of a clean-up since it was
written. This series aims to tidy it up to use error codes, avoid using
BSS when not necessary and to add a few more features.

Changes in v4:
- Stick with US spelling
- Fix 'his' typo

Changes in v3:
- Fix typo in commit message

Changes in v2:
- Fix incorrect function comments
- Fix s/u8/void/ in find_uncached()
- Fix setting of start in file_cbfs_find_uncached()
- Add more comments on @node in file_cbfs_find_uncached()
- Use void * instead of u8 * in file_cbfs_find_uncached_base()
- Fix and expand comments in file_cbfs_find_uncached_base()
- Rebase to master (with x86/master cherry-picked in too)
- Resending as some comments / reviews were missed

Simon Glass (13):
  cbfs: Rename the result variable
  cbfs: Use ulong consistently
  cbfs: Use bool type for whether initialised
  cbfs: Adjust return value of file_cbfs_next_file()
  cbfs: Adjust file_cbfs_load_header() to use cbfs_priv
  cbfs: Adjust cbfs_load_header_ptr() to use cbfs_priv
  cbfs: Unify the two header loaders
  cbfs: Use void * for the position pointers
  cbfs: Record the start address in cbfs_priv
  cbfs: Return the error code from file_cbfs_init()
  cbfs: Change file_cbfs_find_uncached() to return an error
  cbfs: Allow reading a file from a CBFS given its base addr
  cbfs: Don't require the CBFS size with cbfs_init_mem()

 arch/x86/lib/fsp2/fsp_init.c |   3 +-
 cmd/cbfs.c                   |   3 +-
 fs/cbfs/cbfs.c               | 240 ++++++++++++++++++++++-------------
 include/cbfs.h               |  40 ++++--
 4 files changed, 182 insertions(+), 104 deletions(-)

-- 
2.27.0.rc0.183.gde8f92d652-goog

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2020-05-25  9:03 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-24 23:38 [PATCH v4 00/13] x86: cbfs: Various clean-ups to CBFS implementation Simon Glass
2020-05-24 23:38 ` [PATCH v4 01/13] cbfs: Rename the result variable Simon Glass
2020-05-24 23:38 ` [PATCH v4 02/13] cbfs: Use ulong consistently Simon Glass
2020-05-24 23:38 ` [PATCH v4 03/13] cbfs: Use bool type for whether initialised Simon Glass
2020-05-25  1:13   ` Bin Meng
2020-05-24 23:38 ` [PATCH v4 04/13] cbfs: Adjust return value of file_cbfs_next_file() Simon Glass
2020-05-24 23:38 ` [PATCH v4 05/13] cbfs: Adjust file_cbfs_load_header() to use cbfs_priv Simon Glass
2020-05-24 23:38 ` [PATCH v4 06/13] cbfs: Adjust cbfs_load_header_ptr() " Simon Glass
2020-05-24 23:38 ` [PATCH v4 07/13] cbfs: Unify the two header loaders Simon Glass
2020-05-25  1:14   ` Bin Meng
2020-05-24 23:38 ` [PATCH v4 08/13] cbfs: Use void * for the position pointers Simon Glass
2020-05-24 23:38 ` [PATCH v4 09/13] cbfs: Record the start address in cbfs_priv Simon Glass
2020-05-24 23:38 ` [PATCH v4 10/13] cbfs: Return the error code from file_cbfs_init() Simon Glass
2020-05-24 23:38 ` [PATCH v4 11/13] cbfs: Change file_cbfs_find_uncached() to return an error Simon Glass
2020-05-25  1:14   ` Bin Meng
2020-05-24 23:38 ` [PATCH v4 12/13] cbfs: Allow reading a file from a CBFS given its base addr Simon Glass
2020-05-25  1:15   ` Bin Meng
2020-05-24 23:38 ` [PATCH v4 13/13] cbfs: Don't require the CBFS size with cbfs_init_mem() Simon Glass
2020-05-25  1:19 ` [PATCH v4 00/13] x86: cbfs: Various clean-ups to CBFS implementation Bin Meng
2020-05-25  9:03   ` Bin Meng

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.