IntelFsp2Pkg: Add FSP 2.3 header support
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3921 This patch adds a couple of fields supported in FSP 2.3 header from both header generation and tool support perspective. Signed-off-by: Loo Tung Lun <tung.lun.loo@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
3ca7326b37
commit
fa2b212d61
@@ -929,17 +929,25 @@ into %d bytes !" % (value_str, length))
|
||||
]]:
|
||||
tmp_list.append((op_val, op_str))
|
||||
else:
|
||||
opt_list = item['option'].split(',')
|
||||
if item['option'].find(';') != -1:
|
||||
opt_list = item['option'].split(';')
|
||||
else:
|
||||
opt_list = re.split(', ', item['option'])
|
||||
for option in opt_list:
|
||||
option = option.strip()
|
||||
try:
|
||||
(op_val, op_str) = option.split(':')
|
||||
if option.find(':') != -1:
|
||||
(op_val, op_str) = option.split(':')
|
||||
else:
|
||||
op_val = option
|
||||
op_str = option
|
||||
except Exception:
|
||||
raise SystemExit("Exception: Invalide \
|
||||
raise SystemExit("Exception: Invalid \
|
||||
option format '%s' !" % option)
|
||||
tmp_list.append((op_val, op_str))
|
||||
return tmp_list
|
||||
|
||||
|
||||
def get_page_title(self, page_id, top=None):
|
||||
if top is None:
|
||||
top = self.get_cfg_page()['root']
|
||||
|
Reference in New Issue
Block a user