arm, config: Fix a small issue with the dtb file being specified
authorAli Saidi <Ali.Saidi@ARM.com>
Thu, 17 Oct 2013 15:20:45 +0000 (10:20 -0500)
committerAli Saidi <Ali.Saidi@ARM.com>
Thu, 17 Oct 2013 15:20:45 +0000 (10:20 -0500)
configs/common/FSConfig.py

index 742aaca2dccb78cc13408950a793fa59ff75040e..780e4314c369bf97508180748a060b05225b6beb 100644 (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"