summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNayan Deshmukh <nayan26deshmukh@gmail.com>2018-02-04 17:58:46 +0530
committerNayan Deshmukh <nayan26deshmukh@gmail.com>2018-02-05 17:36:55 +0000
commit5f9795a4e0b4dd7dd7ec758ab8c58a4b423856db (patch)
tree6eaebc71f74548a01f3f0ea56d799914dffbfe45
parent0c208d94cac1f89a04a5adb242327fa9fd13d70e (diff)
downloadgem5-5f9795a4e0b4dd7dd7ec758ab8c58a4b423856db.tar.xz
config: remove dead code in fs.py
We have not added the --generate-dtb option for non-ARM systems and hence this case becomes dead code. It also leads to error on non-ARM systems as is tries to access a non existent field. Change-Id: Ia926bd0c61efa275bc5e3864b8a9c3ffb7aa3cb5 Signed-off-by: Nayan Deshmukh <nayan26deshmukh@gmail.com> Reviewed-on: https://gem5-review.googlesource.com/7801 Reviewed-by: Curtis Dunham <curtis.dunham@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
-rw-r--r--configs/example/fs.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py
index 031457c8e..f7115eb48 100644
--- a/configs/example/fs.py
+++ b/configs/example/fs.py
@@ -392,8 +392,5 @@ if buildEnv['TARGET_ISA'] == "arm" and options.generate_dtb:
sys = getattr(root, sysname)
sys.dtb_filename = create_dtb_for_system(sys, '%s.dtb' % sysname)
-elif buildEnv['TARGET_ISA'] != "arm" and options.generate_dtb:
- fatal("Can only generate dtb files for ARM systems.")
-
Simulation.setWorkCountOptions(test_sys, options)
Simulation.run(options, root, test_sys, FutureClass)