arm, config: Fix a small issue with the dtb file being specified

This commit is contained in:
Ali Saidi 2013-10-17 10:20:45 -05:00
parent 21f1e16763
commit 735847179d

View file

@ -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"