diff --git a/boot/zephyr/include/sysflash/sysflash.h b/boot/zephyr/include/sysflash/sysflash.h index 25487eee..e745ffa1 100644 --- a/boot/zephyr/include/sysflash/sysflash.h +++ b/boot/zephyr/include/sysflash/sysflash.h @@ -3,7 +3,7 @@ #ifndef __SYSFLASH_H__ #define __SYSFLASH_H__ -#include +#include #include #if (MCUBOOT_IMAGE_NUMBER == 1) diff --git a/ext/nrf/cc310_glue.h b/ext/nrf/cc310_glue.h index 37a08754..92f03c8a 100644 --- a/ext/nrf/cc310_glue.h +++ b/ext/nrf/cc310_glue.h @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include typedef nrf_cc310_bl_hash_context_sha256_t bootutil_sha256_context; diff --git a/scripts/assemble.py b/scripts/assemble.py index cd0b966a..265a78e4 100755 --- a/scripts/assemble.py +++ b/scripts/assemble.py @@ -50,7 +50,7 @@ class Assembly(): def find_slots(self, bootdir): offsets = {} sizes = {} - with open(os.path.join(bootdir, 'zephyr', 'include', 'generated', 'generated_dts_board_unfixed.h'), 'r') as fd: + with open(os.path.join(bootdir, 'zephyr', 'include', 'generated', 'devicetree_unfixed.h'), 'r') as fd: for line in fd: m = offset_re.match(line) if m is not None: @@ -60,7 +60,7 @@ class Assembly(): sizes[m.group(1)] = int(m.group(3), 0) if not same_keys(offsets, sizes): - raise Exception("Inconsistent data in generated_dts_board.h") + raise Exception("Inconsistent data in devicetree.h") # We care about the MCUBOOT, IMAGE_0, and IMAGE_1 partitions. if 'MCUBOOT' not in offsets: diff --git a/sim/mcuboot-sys/csupport/generated_dts_board.h b/sim/mcuboot-sys/csupport/devicetree.h similarity index 76% rename from sim/mcuboot-sys/csupport/generated_dts_board.h rename to sim/mcuboot-sys/csupport/devicetree.h index f5e11f89..f268640a 100644 --- a/sim/mcuboot-sys/csupport/generated_dts_board.h +++ b/sim/mcuboot-sys/csupport/devicetree.h @@ -6,8 +6,8 @@ /* This file mocks zephyr's autogenerated DT output header file */ -#ifndef __GENERATED_DTS_BOARD_H__ -#define __GENERATED_DTS_BOARD_H__ +#ifndef __DEVICETREE_H__ +#define __DEVICETREE_H__ #define DT_FLASH_AREA_IMAGE_0_ID 1 #define DT_FLASH_AREA_IMAGE_1_ID 2 @@ -15,4 +15,4 @@ #define DT_FLASH_AREA_IMAGE_2_ID 4 #define DT_FLASH_AREA_IMAGE_3_ID 5 -#endif /*__GENERATED_DTS_BOARD_H__*/ +#endif /*__DEVICETREE_H__*/