diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2013-10-17 10:20:45 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2013-10-17 10:20:45 -0500 |
commit | 735847179dda4ecdd903a28388da3d5439ae0692 (patch) | |
tree | 5ba534aced48ffda1f48462f0a87bdd48b15343e /configs/common | |
parent | 21f1e1676316eb162d94545c49ee6835fc7ce7e5 (diff) | |
download | gem5-735847179dda4ecdd903a28388da3d5439ae0692.tar.xz |
arm, config: Fix a small issue with the dtb file being specified
Diffstat (limited to 'configs/common')
-rw-r--r-- | configs/common/FSConfig.py | 4 |
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" |