]> git.proxmox.com Git - mirror_edk2.git/commit
IntelFsp2Pkg: Add YAML file generation support
authorLoo Tung Lun <tung.lun.loo@intel.com>
Mon, 8 Feb 2021 05:04:16 +0000 (13:04 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 9 Feb 2021 08:23:03 +0000 (08:23 +0000)
commit273261126e30c46737736bff3ece64c4bd77bedd
tree21feda226cf06e8da3f94809a7f9d2745e94ad95
parent1534b6228b0932d745bf6ec9fd4cb010800b92f2
IntelFsp2Pkg: Add YAML file generation support

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3091

Add support for YAML format file generation in addition
to current BSF structure. Configuration of YAML format
output will be supported by an open source ConfigEditor.

Reference to YAML code, test and ConfigEditor is at
https://github.com/joshloo/fsp_yaml_cfg/tree/master/Tools

A unit test is also added in Tests folder. This test compares
the generated yaml file against the expected output to know
if it is constructing the yaml data structure as expected.

Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Signed-off-by: Loo Tung Lun <tung.lun.loo@intel.com>
Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
IntelFsp2Pkg/Tools/FspDscBsf2Yaml.py [new file with mode: 0644]
IntelFsp2Pkg/Tools/GenCfgOpt.py
IntelFsp2Pkg/Tools/Tests/ExpectedFspUpd.h [new file with mode: 0644]
IntelFsp2Pkg/Tools/Tests/ExpectedFspmUpd.h [new file with mode: 0644]
IntelFsp2Pkg/Tools/Tests/ExpectedFspsUpd.h [new file with mode: 0644]
IntelFsp2Pkg/Tools/Tests/ExpectedFsptUpd.h [new file with mode: 0644]
IntelFsp2Pkg/Tools/Tests/ExpectedOutput.bsf [new file with mode: 0644]
IntelFsp2Pkg/Tools/Tests/ExpectedOutput.yaml [new file with mode: 0644]
IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc [new file with mode: 0644]
IntelFsp2Pkg/Tools/Tests/test_yaml.py [new file with mode: 0644]
IntelFsp2Pkg/Tools/UserManuals/FspDscBsf2YamlUserManual.md [new file with mode: 0644]