From 5f9795a4e0b4dd7dd7ec758ab8c58a4b423856db Mon Sep 17 00:00:00 2001 From: Nayan Deshmukh Date: Sun, 4 Feb 2018 17:58:46 +0530 Subject: 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 --- configs/example/fs.py | 3 --- 1 file changed, 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) -- cgit v1.2.3