[U-Boot] [PATCH 0/6] cbfs: Allow use before relocation / BSS
Simon Glass
sjg at chromium.org
Wed Aug 14 03:09:08 UTC 2019
At present CBFS cannot be used in SPL before BSS is available. This is
inconvenient if CBFS holds the FSP code needed to init SDRAM.
The problem is fairly easy to fix, by putting all static variables into
a struct that can be allocated.
This series updates CBFS towards this goal, but does not convert all
functions. It also tidies up the style a little.
Simon Glass (6):
cbfs: Allow CBFS to be used in SPL
cbfs: Move declarations above functions
cbfs: Move static variables into a struct
cbfs: Move result variable into the struct
cbfs: Add functions to support multiple CBFSs
cbfs: Rename camel-case variables
cmd/cbfs.c | 4 +-
fs/Makefile | 1 +
fs/cbfs/Kconfig | 12 +++
fs/cbfs/cbfs.c | 231 ++++++++++++++++++++++++++++++++----------------
include/cbfs.h | 29 ++++++
5 files changed, 198 insertions(+), 79 deletions(-)
--
2.23.0.rc1.153.gdeed80330f-goog
More information about the U-Boot
mailing list