acrn-config: remove CONFIG_UEFI_OS_LOADER_NAME from python scripts
Since UEFI boot is no longer supported. Tracked-On: #5197 Signed-off-by: Zide Chen <zide.chen@intel.com>
This commit is contained in:
parent
9f2b35507a
commit
75c9dbb46d
|
@ -160,7 +160,6 @@ def get_serial_console(config):
|
|||
def get_miscfg(hv_info, config):
|
||||
|
||||
print("CONFIG_GPU_SBDF={}".format(hv_info.mis.gpu_sbdf), file=config)
|
||||
print('CONFIG_UEFI_OS_LOADER_NAME="{}"'.format(hv_info.mis.uefi_os_loader_name), file=config)
|
||||
|
||||
|
||||
def get_features(hv_info, config):
|
||||
|
|
|
@ -86,15 +86,12 @@ class MisCfg:
|
|||
def __init__(self, hv_file):
|
||||
self.hv_file = hv_file
|
||||
self.gpu_sbdf = 0
|
||||
self.uefi_os_loader_name = ''
|
||||
|
||||
def get_info(self):
|
||||
self.gpu_sbdf = common.get_hv_item_tag(self.hv_file, "MISC_CFG", "GPU_SBDF")
|
||||
self.uefi_os_loader_name = common.get_hv_item_tag(self.hv_file, "MISC_CFG", "UEFI_OS_LOADER_NAME")
|
||||
|
||||
def check_item(self):
|
||||
hv_cfg_lib.hv_size_check(self.gpu_sbdf, "MISC_CFG", "GPU_SBDF")
|
||||
hv_cfg_lib.uefi_load_name_check(self.uefi_os_loader_name, "MISC_CFG", "UEFI_OS_LOADER_NAME")
|
||||
|
||||
|
||||
class Features:
|
||||
|
|
|
@ -97,14 +97,6 @@ def ir_entries_check(str_num, cap, cap_ir_entries):
|
|||
ERR_LIST[key] = "{} should be a value of 2^n".format(cap_ir_entries)
|
||||
|
||||
|
||||
def uefi_load_name_check(str_name, mis, mis_uefi_name):
|
||||
|
||||
name_len = len(str_name)
|
||||
if name_len > 256 or name_len < 0:
|
||||
key = 'hv,{},{}'.format(mis, mis_uefi_name)
|
||||
ERR_LIST[key] = "{} length should be in range[0, 256]".format(mis_uefi_name)
|
||||
|
||||
|
||||
def ny_support_check(sel_str, feat, feat_item, feat_sub_leaf=''):
|
||||
if empty_check(sel_str, feat, feat_item, feat_sub_leaf):
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue