rootfs.py: Added support for creating UBI images.
[matrix.git] / matrix / config.py
index e642e1ebcd944c6b9913b893f4ed9ee0663df055..3f8ab6c42ee794c2c8d7a6f544064ccb9d8ea726 100644 (file)
@@ -18,7 +18,12 @@ class Board(object):
                     gcc_options=None,
                     gnu_host=None,
                     flash_erase_size=65536,
-                    flash_pad_size=0):
+                    flash_pad_size=0,
+                    flash_compression=None,
+                    ubifs_leb_size=0,
+                    ubifs_max_leb_count=0,
+                    ubifs_min_io_size=0,
+                    ubinize_config_vol_size=0):
                self.name = name
                self.arch = arch
                self.gcc_march = gcc_march
@@ -28,6 +33,11 @@ class Board(object):
                self.gnu_host = gnu_host or ''
                self.flash_erase_size = flash_erase_size
                self.flash_pad_size = flash_pad_size
+               self.flash_compression = flash_compression or ''
+               self.ubifs_leb_size = ubifs_leb_size
+               self.ubifs_max_leb_count = ubifs_max_leb_count
+               self.ubifs_min_io_size = ubifs_min_io_size
+               self.ubinize_config_vol_size = ubinize_config_vol_size
 
                config.boards[name] = self