summaryrefslogtreecommitdiff
path: root/configs/common/FSConfig.py
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2013-10-17 10:20:45 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2013-10-17 10:20:45 -0500
commit735847179dda4ecdd903a28388da3d5439ae0692 (patch)
tree5ba534aced48ffda1f48462f0a87bdd48b15343e /configs/common/FSConfig.py
parent21f1e1676316eb162d94545c49ee6835fc7ce7e5 (diff)
downloadgem5-735847179dda4ecdd903a28388da3d5439ae0692.tar.xz
arm, config: Fix a small issue with the dtb file being specified
Diffstat (limited to 'configs/common/FSConfig.py')
-rw-r--r--configs/common/FSConfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py
index 742aaca2d..780e4314c 100644
--- a/configs/common/FSConfig.py
+++ b/configs/common/FSConfig.py
@@ -263,8 +263,8 @@ def makeArmSystem(mem_mode, machine_type, mdesc = None,
size = mdesc.mem())]
else:
self.kernel = binary('vmlinux.arm.smp.fb.2.6.38.8')
- if dtb_filename is not None:
- self.dtb_filename = dtb_filename
+ if dtb_filename:
+ self.dtb_filename = binary(dtb_filename)
self.machine_type = machine_type
if convert.toMemorySize(mdesc.mem()) > int(self.realview.max_mem_size):
print "The currently selected ARM platforms doesn't support"