=== modified file 'linaro_image_tools/hwpack/config.py'
@@ -39,6 +39,7 @@
BOOTLOADERS_FIELD,
BOOT_MIN_SIZE_FIELD,
BOOT_SCRIPT_FIELD,
+ COPY_FILES_FIELD,
DD_FIELD,
DTB_ADDR_FIELD,
DTB_FILE_FIELD,
@@ -307,6 +308,11 @@
return self._get_bootloader_option(SPL_IN_BOOT_PART_FIELD)
@property
+ def boot_copy_files(self):
+ """Extra files to copy to boot partition."""
+ return self._get_bootloader_option(COPY_FILES_FIELD)
+
+ @property
def spl_dd(self):
"""If the spl binary should be dd:d to the boot partition
this field specifies the offset. An int."""
=== modified file 'linaro_image_tools/hwpack/hwpack_fields.py'
@@ -60,6 +60,7 @@
VERSION_FIELD = 'version'
# Bootloaders specific fields
+COPY_FILES_FIELD = 'copy_files'
DD_FIELD = 'dd'
ENV_DD_FIELD = 'env_dd'
EXTRA_BOOT_OPTIONS_FIELD = 'extra_boot_options'
@@ -138,6 +139,7 @@
PACKAGE_FIELD: None,
FILE_FIELD: None,
IN_BOOT_PART_FIELD: None,
+ COPY_FILES_FIELD: None,
DD_FIELD: None,
EXTRA_BOOT_OPTIONS_FIELD: None,
SPL_PACKAGE_FIELD: None,