Skip to content

Commit b62d439

Browse files
Wei Liuwenlingz
authored andcommitted
acrn-config: remove a function that generates ve820 file
1. To keep align with acrn-hypervisor source code, remove a function that generates ve820 file. Tracked-On: #3854 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
1 parent 27b6c82 commit b62d439

File tree

2 files changed

+3
-233
lines changed

2 files changed

+3
-233
lines changed

misc/acrn-config/board_config/board_cfg_gen.py

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@
1212
import pci_devices_h
1313
import acpi_platform_h
1414
import misc_cfg_h
15-
import ve820_c
1615
import new_board_kconfig
1716

1817
ACRN_PATH = board_cfg_lib.SOURCE_ROOT_DIR
1918
ACRN_CONFIG = ACRN_PATH + "hypervisor/arch/x86/configs/"
2019

2120
ACRN_DEFAULT_PLATFORM = ACRN_PATH + "hypervisor/include/arch/x86/default_acpi_info.h"
22-
GEN_FILE = ["pci_devices.h", "board.c", "_acpi_info.h", "misc_cfg.h", "ve820.c", ".config"]
21+
GEN_FILE = ["pci_devices.h", "board.c", "_acpi_info.h", "misc_cfg.h", ".config"]
2322

2423

2524
def need_gen_new_board_config(board_name):
@@ -76,14 +75,12 @@ def main(args):
7675
config_board = config_dirs[0] + '/' + GEN_FILE[1]
7776
config_platform = config_dirs[0] + '/' + board + GEN_FILE[2]
7877
config_misc_cfg = config_dirs[0] + '/' + GEN_FILE[3]
79-
config_ve820 = config_dirs[0] + '/' + GEN_FILE[4]
80-
config_board_kconfig = ACRN_CONFIG + board + GEN_FILE[5]
78+
config_board_kconfig = ACRN_CONFIG + board + GEN_FILE[4]
8179

8280
config_srcs.append(config_pci)
8381
config_srcs.append(config_board)
8482
config_srcs.append(config_platform)
8583
config_srcs.append(config_misc_cfg)
86-
config_srcs.append(config_ve820)
8784
config_srcs.append(config_board_kconfig)
8885

8986
# generate board.c
@@ -100,13 +97,7 @@ def main(args):
10097
with open(config_platform, 'w+') as config:
10198
acpi_platform_h.generate_file(config, ACRN_DEFAULT_PLATFORM)
10299

103-
# generate acpi_platform.h
104-
with open(config_ve820, 'w+') as config:
105-
err_dic = ve820_c.generate_file(config)
106-
if err_dic:
107-
return err_dic
108-
109-
# generate acpi_platform.h
100+
# generate misc_cfg.h
110101
with open(config_misc_cfg, 'w+') as config:
111102
err_dic = misc_cfg_h.generate_file(config)
112103
if err_dic:

misc/acrn-config/board_config/ve820_c.py

Lines changed: 0 additions & 221 deletions
This file was deleted.

0 commit comments

Comments
 (0)