audk/EmbeddedPkg/Include
Laszlo Ersek 7ab26d5180 EmbeddedPkg: introduce NvVarStoreFormattedLib
Some platforms don't format a variable store template at build time;
instead they format the non-volatile varstore flash chip during boot,
dynamically. Introduce NvVarStoreFormattedLib to enable such platforms to
delay the "variable read" service drivers until the platform specific
module(s) report that the variable store has been formatted.

The platform-specific module that performs the formatting during startup
is usually an FVB or MM FVB driver. Under the proposed scheme, it becomes
responsible for installing gEdkiiNvVarStoreFormattedGuid with a NULL
interface in the protocol database. In turn, the platform DSC will hook
NvVarStoreFormattedLib into the variable service driver, to make the
latter wait for the FVB driver. Platforms that need not delay the variable
service driver like this may still use the same FVB driver;
gEdkiiNvVarStoreFormattedGuid will simply be ignored.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Steve Capper <steve.capper@linaro.org>
Cc: Supreeth Venkatesh <Supreeth.Venkatesh@arm.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Steve Capper <steve.capper@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2018-04-12 21:24:30 +02:00
..
Guid EmbeddedPkg: introduce NvVarStoreFormattedLib 2018-04-12 21:24:30 +02:00
Library EmbeddedPkg Omap35xxPkg: remove EBL and associated libraries 2017-11-26 10:58:33 +00:00
Ppi EmbeddedPkg: introduce GPIO PPI 2017-11-05 16:18:49 +00:00
Protocol EmbeddedPkg: delete unused Pcds and guids 2018-02-06 18:01:29 +00:00
fdt.h EmbeddedPkg/FdtLib: Updated libfdt to 1.4.0 2014-02-12 15:11:29 +00:00
libfdt.h EmbeddedPkg/FdtLib: incorporate missing overlay support 2018-02-21 10:53:08 +00:00
libfdt_env.h EmbeddedPkg/FdtLib: Update FdtLib to v1.4.5 2018-01-05 12:03:27 +00:00