dts: Include devicetree.h instead of generated_dts_board.h
Needed for https://github.com/zephyrproject-rtos/zephyr/pull/20757, to
avoid a warning-turned-error.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
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 f5e11f8..f268640 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__*/