From: Nayan Deshmukh Date: Sun, 4 Feb 2018 12:28:46 +0000 (+0530) Subject: config: remove dead code in fs.py X-Git-Tag: v19.0.0.0~2329 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f9795a4e0b4dd7dd7ec758ab8c58a4b423856db;p=gem5.git 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 Reviewed-on: https://gem5-review.googlesource.com/7801 Reviewed-by: Curtis Dunham Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power --- 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)