summaryrefslogtreecommitdiff
path: root/configs/common
diff options
context:
space:
mode:
Diffstat (limited to 'configs/common')
-rw-r--r--configs/common/FSConfig.py11
-rw-r--r--configs/common/Options.py2
2 files changed, 3 insertions, 10 deletions
diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py
index e8cd0083b..04793e98e 100644
--- a/configs/common/FSConfig.py
+++ b/configs/common/FSConfig.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2010-2012, 2015-2018 ARM Limited
+# Copyright (c) 2010-2012, 2015-2019 ARM Limited
# All rights reserved.
#
# The license below extends only to copyright in the software and shall
@@ -206,8 +206,7 @@ def makeSparcSystem(mem_mode, mdesc=None, cmdline=None):
def makeArmSystem(mem_mode, machine_type, num_cpus=1, mdesc=None,
dtb_filename=None, bare_metal=False, cmdline=None,
- external_memory="", ruby=False, security=False,
- ignore_dtb=False):
+ external_memory="", ruby=False, security=False):
assert machine_type
pci_devices = []
@@ -238,10 +237,6 @@ def makeArmSystem(mem_mode, machine_type, num_cpus=1, mdesc=None,
machine_type = platform_class.__name__
self.realview = platform_class()
- if not dtb_filename and not (bare_metal or ignore_dtb):
- fatal("No DTB specified and no default DTB known for '%s'" % \
- machine_type)
-
if isinstance(self.realview, VExpress_EMM64):
if os.path.split(mdesc.disk())[-1] == 'linux-aarch32-ael.img':
print("Selected 64-bit ARM architecture, updating default "
@@ -289,7 +284,7 @@ def makeArmSystem(mem_mode, machine_type, num_cpus=1, mdesc=None,
# EOT character on UART will end the simulation
self.realview.uart[0].end_on_eot = True
else:
- if dtb_filename and not ignore_dtb:
+ if dtb_filename:
self.dtb_filename = binary(dtb_filename)
self.machine_type = machine_type if machine_type in ArmMachineType.map \
diff --git a/configs/common/Options.py b/configs/common/Options.py
index 536da44f0..7963013df 100644
--- a/configs/common/Options.py
+++ b/configs/common/Options.py
@@ -363,8 +363,6 @@ def addFSOptions(parser):
parser.add_option("--enable-context-switch-stats-dump", \
action="store_true", help="Enable stats dump at context "\
"switches and dump tasks file (required for Streamline)")
- parser.add_option("--generate-dtb", action="store_true", default=False,
- help="Automatically generate a dtb file")
# Benchmark options
parser.add_option("--dual", action="store_true",