Skip to contentSkip to conversation

hw/arm: Move 'hw/arm/boot.h' from header to source

PATCH Applied Philippe Mathieu-Daudé 4 participants 23 messages Oct 25, 2023 – Oct 27, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover hw/arm: Move 'hw/arm/boot.h' from header to source

Almost no ARM board header requires "hw/arm/boot.h". Move this header inclusion to the source.

Philippe Mathieu-Daudé (10):
hw/arm/allwinner-a10: Remove 'hw/arm/boot.h' from header hw/arm/allwinner-h3: Remove 'hw/arm/boot.h' from header hw/arm/allwinner-r40: Remove 'hw/arm/boot.h' from header hw/arm/fsl-imx25: Remove 'hw/arm/boot.h' from header hw/arm/fsl-imx31: Remove 'hw/arm/boot.h' from header hw/arm/fsl-imx6: Remove 'hw/arm/boot.h' from header hw/arm/fsl-imx6ul: Remove 'hw/arm/boot.h' from header hw/arm/fsl-imx7: Remove 'hw/arm/boot.h' from header hw/arm/xlnx-versal: Remove 'hw/arm/boot.h' from header hw/arm/xlnx-zynqmp: Remove 'hw/arm/boot.h' from header

 include/hw/arm/allwinner-a10.h | 1 -
 include/hw/arm/allwinner-h3.h  | 1 -
 include/hw/arm/allwinner-r40.h | 1 -
 include/hw/arm/fsl-imx25.h     | 1 -
 include/hw/arm/fsl-imx31.h     | 1 -
 include/hw/arm/fsl-imx6.h      | 1 -
 include/hw/arm/fsl-imx6ul.h    | 1 -
 include/hw/arm/fsl-imx7.h      | 1 -
 include/hw/arm/xlnx-versal.h   | 1 -
 include/hw/arm/xlnx-zynqmp.h   | 1 -
 hw/arm/bananapi_m2u.c          | 1 +
 hw/arm/cubieboard.c            | 1 +
 hw/arm/imx25_pdk.c             | 1 +
 hw/arm/kzm.c                   | 1 +
 hw/arm/mcimx6ul-evk.c          | 1 +
 hw/arm/mcimx7d-sabre.c         | 1 +
 hw/arm/orangepi.c              | 1 +
 hw/arm/sabrelite.c             | 1 +
 hw/arm/xlnx-versal-virt.c      | 1 +
 hw/arm/xlnx-zcu102.c           | 1 +
 20 files changed, 10 insertions(+), 10 deletions(-)
Signature · 1 line
2.41.0
#1 lore raw

PATCH 1/10 hw/arm/allwinner-a10: Remove 'hw/arm/boot.h' from header

"hw/arm/boot.h" is only required on the source file.

---
 include/hw/arm/allwinner-a10.h | 1 -
 hw/arm/cubieboard.c            | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/allwinner-a10.h +0 -1
index cd1465c613..2eb83a17ea 100644
@@ -1,7 +1,6 @@
 #ifndef HW_ARM_ALLWINNER_A10_H
 #define HW_ARM_ALLWINNER_A10_H
 
-#include "hw/arm/boot.h"
 #include "hw/timer/allwinner-a10-pit.h"
 #include "hw/intc/allwinner-a10-pic.h"
 #include "hw/net/allwinner_emac.h"
hw/arm/cubieboard.c +1 -0
index 8c7fa91529..29146f5018 100644
@@ -21,6 +21,7 @@
 #include "hw/boards.h"
 #include "hw/qdev-properties.h"
 #include "hw/arm/allwinner-a10.h"
+#include "hw/arm/boot.h"
 #include "hw/i2c/i2c.h"
 
 static struct arm_boot_info cubieboard_binfo = {
Signature · 1 line
2.41.0
Reviewed-by on v1 1/10
#2 lore raw

Re: [PATCH 01/10] hw/arm/allwinner-a10: Remove 'hw/arm/boot.h' from header

Quoted 3 lines · Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

Quoted 33 lines
---
 include/hw/arm/allwinner-a10.h | 1 -
 hw/arm/cubieboard.c            | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/allwinner-a10.h +0 -1
index cd1465c613..2eb83a17ea 100644
@@ -1,7 +1,6 @@
 #ifndef HW_ARM_ALLWINNER_A10_H
 #define HW_ARM_ALLWINNER_A10_H
 
-#include "hw/arm/boot.h"
 #include "hw/timer/allwinner-a10-pit.h"
 #include "hw/intc/allwinner-a10-pic.h"
 #include "hw/net/allwinner_emac.h"
hw/arm/cubieboard.c +1 -1
index 8c7fa91529..29146f5018 100644
@@ -21,6 +21,7 @@
 #include "hw/boards.h"
 #include "hw/qdev-properties.h"
 #include "hw/arm/allwinner-a10.h"
+#include "hw/arm/boot.h"
 #include "hw/i2c/i2c.h"
 
 static struct arm_boot_info cubieboard_binfo = {
--

2.41.0

#3 lore raw

PATCH 2/10 hw/arm/allwinner-h3: Remove 'hw/arm/boot.h' from header

In reply to Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

---
 include/hw/arm/allwinner-h3.h | 1 -
 hw/arm/orangepi.c             | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/allwinner-h3.h +0 -1
index f15d6d7cc7..24ba4e1bf4 100644
@@ -36,7 +36,6 @@
 #define HW_ARM_ALLWINNER_H3_H
 
 #include "qom/object.h"
-#include "hw/arm/boot.h"
 #include "hw/timer/allwinner-a10-pit.h"
 #include "hw/intc/arm_gic.h"
 #include "hw/misc/allwinner-h3-ccu.h"
hw/arm/orangepi.c +1 -0
index 10653361ed..d0eca54cd9 100644
@@ -25,6 +25,7 @@
 #include "hw/boards.h"
 #include "hw/qdev-properties.h"
 #include "hw/arm/allwinner-h3.h"
+#include "hw/arm/boot.h"
 
 static struct arm_boot_info orangepi_binfo;
 
Signature · 1 line
2.41.0
Reviewed-by on v1 2/10
#4 lore raw

Re: [PATCH 02/10] hw/arm/allwinner-h3: Remove 'hw/arm/boot.h' from header

Quoted 3 lines · Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

Quoted 33 lines
---
 include/hw/arm/allwinner-h3.h | 1 -
 hw/arm/orangepi.c             | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/allwinner-h3.h +0 -1
index f15d6d7cc7..24ba4e1bf4 100644
@@ -36,7 +36,6 @@
 #define HW_ARM_ALLWINNER_H3_H
 
 #include "qom/object.h"
-#include "hw/arm/boot.h"
 #include "hw/timer/allwinner-a10-pit.h"
 #include "hw/intc/arm_gic.h"
 #include "hw/misc/allwinner-h3-ccu.h"
hw/arm/orangepi.c +1 -1
index 10653361ed..d0eca54cd9 100644
@@ -25,6 +25,7 @@
 #include "hw/boards.h"
 #include "hw/qdev-properties.h"
 #include "hw/arm/allwinner-h3.h"
+#include "hw/arm/boot.h"
 
 static struct arm_boot_info orangepi_binfo;
 
--

2.41.0

#5 lore raw

PATCH 3/10 hw/arm/allwinner-r40: Remove 'hw/arm/boot.h' from header

In reply to Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

---
 include/hw/arm/allwinner-r40.h | 1 -
 hw/arm/bananapi_m2u.c          | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/allwinner-r40.h +0 -1
index 72710d3edc..6e1ac9d4c1 100644
@@ -21,7 +21,6 @@
 #define HW_ARM_ALLWINNER_R40_H
 
 #include "qom/object.h"
-#include "hw/arm/boot.h"
 #include "hw/timer/allwinner-a10-pit.h"
 #include "hw/intc/arm_gic.h"
 #include "hw/sd/allwinner-sdhost.h"
hw/arm/bananapi_m2u.c +1 -0
index 74121d8966..a7c7a9f96d 100644
@@ -26,6 +26,7 @@
 #include "hw/i2c/i2c.h"
 #include "hw/qdev-properties.h"
 #include "hw/arm/allwinner-r40.h"
+#include "hw/arm/boot.h"
 
 static struct arm_boot_info bpim2u_binfo;
 
Signature · 1 line
2.41.0
Reviewed-by on v1 3/10
#6 lore raw

Re: [PATCH 03/10] hw/arm/allwinner-r40: Remove 'hw/arm/boot.h' from header

Quoted 3 lines · Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

Quoted 33 lines
---
 include/hw/arm/allwinner-r40.h | 1 -
 hw/arm/bananapi_m2u.c          | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/allwinner-r40.h +0 -1
index 72710d3edc..6e1ac9d4c1 100644
@@ -21,7 +21,6 @@
 #define HW_ARM_ALLWINNER_R40_H
 
 #include "qom/object.h"
-#include "hw/arm/boot.h"
 #include "hw/timer/allwinner-a10-pit.h"
 #include "hw/intc/arm_gic.h"
 #include "hw/sd/allwinner-sdhost.h"
hw/arm/bananapi_m2u.c +1 -1
index 74121d8966..a7c7a9f96d 100644
@@ -26,6 +26,7 @@
 #include "hw/i2c/i2c.h"
 #include "hw/qdev-properties.h"
 #include "hw/arm/allwinner-r40.h"
+#include "hw/arm/boot.h"
 
 static struct arm_boot_info bpim2u_binfo;
 
--

2.41.0

#7 lore raw

PATCH 4/10 hw/arm/fsl-imx25: Remove 'hw/arm/boot.h' from header

In reply to Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

---
 include/hw/arm/fsl-imx25.h | 1 -
 hw/arm/imx25_pdk.c         | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/fsl-imx25.h +0 -1
index 1b1086e945..df2f83980f 100644
@@ -17,7 +17,6 @@
 #ifndef FSL_IMX25_H
 #define FSL_IMX25_H
 
-#include "hw/arm/boot.h"
 #include "hw/intc/imx_avic.h"
 #include "hw/misc/imx25_ccm.h"
 #include "hw/char/imx_serial.h"
hw/arm/imx25_pdk.c +1 -0
index b4f7f4e8a7..7dfddd49e2 100644
@@ -27,6 +27,7 @@
 #include "qapi/error.h"
 #include "hw/qdev-properties.h"
 #include "hw/arm/fsl-imx25.h"
+#include "hw/arm/boot.h"
 #include "hw/boards.h"
 #include "qemu/error-report.h"
 #include "sysemu/qtest.h"
Signature · 1 line
2.41.0
Reviewed-by on v1 4/10
#8 lore raw

Re: [PATCH 04/10] hw/arm/fsl-imx25: Remove 'hw/arm/boot.h' from header

Quoted 3 lines · Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

Quoted 33 lines
---
 include/hw/arm/fsl-imx25.h | 1 -
 hw/arm/imx25_pdk.c         | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/fsl-imx25.h +0 -1
index 1b1086e945..df2f83980f 100644
@@ -17,7 +17,6 @@
 #ifndef FSL_IMX25_H
 #define FSL_IMX25_H
 
-#include "hw/arm/boot.h"
 #include "hw/intc/imx_avic.h"
 #include "hw/misc/imx25_ccm.h"
 #include "hw/char/imx_serial.h"
hw/arm/imx25_pdk.c +1 -1
index b4f7f4e8a7..7dfddd49e2 100644
@@ -27,6 +27,7 @@
 #include "qapi/error.h"
 #include "hw/qdev-properties.h"
 #include "hw/arm/fsl-imx25.h"
+#include "hw/arm/boot.h"
 #include "hw/boards.h"
 #include "qemu/error-report.h"
 #include "sysemu/qtest.h"
--

2.41.0

#9 lore raw

PATCH 5/10 hw/arm/fsl-imx31: Remove 'hw/arm/boot.h' from header

In reply to Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

---
 include/hw/arm/fsl-imx31.h | 1 -
 hw/arm/kzm.c               | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/fsl-imx31.h +0 -1
index c116a73e0b..40c593a5cf 100644
@@ -17,7 +17,6 @@
 #ifndef FSL_IMX31_H
 #define FSL_IMX31_H
 
-#include "hw/arm/boot.h"
 #include "hw/intc/imx_avic.h"
 #include "hw/misc/imx31_ccm.h"
 #include "hw/char/imx_serial.h"
hw/arm/kzm.c +1 -0
index b1b281c9ac..9be91ebeaa 100644
@@ -16,6 +16,7 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "hw/arm/fsl-imx31.h"
+#include "hw/arm/boot.h"
 #include "hw/boards.h"
 #include "qemu/error-report.h"
 #include "exec/address-spaces.h"
Signature · 1 line
2.41.0
Reviewed-by on v1 5/10
#10 lore raw

Re: [PATCH 05/10] hw/arm/fsl-imx31: Remove 'hw/arm/boot.h' from header

Quoted 3 lines · Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

Quoted 33 lines
---
 include/hw/arm/fsl-imx31.h | 1 -
 hw/arm/kzm.c               | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/fsl-imx31.h +0 -1
index c116a73e0b..40c593a5cf 100644
@@ -17,7 +17,6 @@
 #ifndef FSL_IMX31_H
 #define FSL_IMX31_H
 
-#include "hw/arm/boot.h"
 #include "hw/intc/imx_avic.h"
 #include "hw/misc/imx31_ccm.h"
 #include "hw/char/imx_serial.h"
hw/arm/kzm.c +1 -1
index b1b281c9ac..9be91ebeaa 100644
@@ -16,6 +16,7 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "hw/arm/fsl-imx31.h"
+#include "hw/arm/boot.h"
 #include "hw/boards.h"
 #include "qemu/error-report.h"
 #include "exec/address-spaces.h"
--

2.41.0

#11 lore raw

PATCH 6/10 hw/arm/fsl-imx6: Remove 'hw/arm/boot.h' from header

In reply to Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

---
 include/hw/arm/fsl-imx6.h | 1 -
 hw/arm/sabrelite.c        | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/fsl-imx6.h +0 -1
index 5b4d48da08..519b871014 100644
@@ -17,7 +17,6 @@
 #ifndef FSL_IMX6_H
 #define FSL_IMX6_H
 
-#include "hw/arm/boot.h"
 #include "hw/cpu/a9mpcore.h"
 #include "hw/misc/imx6_ccm.h"
 #include "hw/misc/imx6_src.h"
hw/arm/sabrelite.c +1 -0
index 41191245b8..56f184b9ae 100644
@@ -13,6 +13,7 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "hw/arm/fsl-imx6.h"
+#include "hw/arm/boot.h"
 #include "hw/boards.h"
 #include "hw/qdev-properties.h"
 #include "qemu/error-report.h"
Signature · 1 line
2.41.0
Reviewed-by on v1 6/10
#12 lore raw

Re: [PATCH 06/10] hw/arm/fsl-imx6: Remove 'hw/arm/boot.h' from header

Quoted 3 lines · Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

Quoted 33 lines
---
 include/hw/arm/fsl-imx6.h | 1 -
 hw/arm/sabrelite.c        | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/fsl-imx6.h +0 -1
index 5b4d48da08..519b871014 100644
@@ -17,7 +17,6 @@
 #ifndef FSL_IMX6_H
 #define FSL_IMX6_H
 
-#include "hw/arm/boot.h"
 #include "hw/cpu/a9mpcore.h"
 #include "hw/misc/imx6_ccm.h"
 #include "hw/misc/imx6_src.h"
hw/arm/sabrelite.c +1 -1
index 41191245b8..56f184b9ae 100644
@@ -13,6 +13,7 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "hw/arm/fsl-imx6.h"
+#include "hw/arm/boot.h"
 #include "hw/boards.h"
 #include "hw/qdev-properties.h"
 #include "qemu/error-report.h"
--

2.41.0

#13 lore raw

PATCH 7/10 hw/arm/fsl-imx6ul: Remove 'hw/arm/boot.h' from header

In reply to Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

---
 include/hw/arm/fsl-imx6ul.h | 1 -
 hw/arm/mcimx6ul-evk.c       | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/fsl-imx6ul.h +0 -1
index 63012628ff..14390f6014 100644
@@ -17,7 +17,6 @@
 #ifndef FSL_IMX6UL_H
 #define FSL_IMX6UL_H
 
-#include "hw/arm/boot.h"
 #include "hw/cpu/a15mpcore.h"
 #include "hw/misc/imx6ul_ccm.h"
 #include "hw/misc/imx6_src.h"
hw/arm/mcimx6ul-evk.c +1 -0
index 3ac1e2ea9b..500427e94b 100644
@@ -13,6 +13,7 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "hw/arm/fsl-imx6ul.h"
+#include "hw/arm/boot.h"
 #include "hw/boards.h"
 #include "hw/qdev-properties.h"
 #include "qemu/error-report.h"
Signature · 1 line
2.41.0
Reviewed-by on v1 7/10
#14 lore raw

Re: [PATCH 07/10] hw/arm/fsl-imx6ul: Remove 'hw/arm/boot.h' from header

Quoted 3 lines · Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

Quoted 33 lines
---
 include/hw/arm/fsl-imx6ul.h | 1 -
 hw/arm/mcimx6ul-evk.c       | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/fsl-imx6ul.h +0 -1
index 63012628ff..14390f6014 100644
@@ -17,7 +17,6 @@
 #ifndef FSL_IMX6UL_H
 #define FSL_IMX6UL_H
 
-#include "hw/arm/boot.h"
 #include "hw/cpu/a15mpcore.h"
 #include "hw/misc/imx6ul_ccm.h"
 #include "hw/misc/imx6_src.h"
hw/arm/mcimx6ul-evk.c +1 -1
index 3ac1e2ea9b..500427e94b 100644
@@ -13,6 +13,7 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "hw/arm/fsl-imx6ul.h"
+#include "hw/arm/boot.h"
 #include "hw/boards.h"
 #include "hw/qdev-properties.h"
 #include "qemu/error-report.h"
--

2.41.0

#15 lore raw

PATCH 8/10 hw/arm/fsl-imx7: Remove 'hw/arm/boot.h' from header

In reply to Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

---
 include/hw/arm/fsl-imx7.h | 1 -
 hw/arm/mcimx7d-sabre.c    | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/fsl-imx7.h +0 -1
index 2cbfc6b2b2..411fa1c2e3 100644
@@ -19,7 +19,6 @@
 #ifndef FSL_IMX7_H
 #define FSL_IMX7_H
 
-#include "hw/arm/boot.h"
 #include "hw/cpu/a15mpcore.h"
 #include "hw/intc/imx_gpcv2.h"
 #include "hw/misc/imx7_ccm.h"
hw/arm/mcimx7d-sabre.c +1 -0
index d1778122b6..693a1023b6 100644
@@ -15,6 +15,7 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "hw/arm/fsl-imx7.h"
+#include "hw/arm/boot.h"
 #include "hw/boards.h"
 #include "hw/qdev-properties.h"
 #include "qemu/error-report.h"
Signature · 1 line
2.41.0
Reviewed-by on v1 8/10
#16 lore raw

Re: [PATCH 08/10] hw/arm/fsl-imx7: Remove 'hw/arm/boot.h' from header

Quoted 3 lines · Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

Quoted 33 lines
---
 include/hw/arm/fsl-imx7.h | 1 -
 hw/arm/mcimx7d-sabre.c    | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/fsl-imx7.h +0 -1
index 2cbfc6b2b2..411fa1c2e3 100644
@@ -19,7 +19,6 @@
 #ifndef FSL_IMX7_H
 #define FSL_IMX7_H
 
-#include "hw/arm/boot.h"
 #include "hw/cpu/a15mpcore.h"
 #include "hw/intc/imx_gpcv2.h"
 #include "hw/misc/imx7_ccm.h"
hw/arm/mcimx7d-sabre.c +1 -1
index d1778122b6..693a1023b6 100644
@@ -15,6 +15,7 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "hw/arm/fsl-imx7.h"
+#include "hw/arm/boot.h"
 #include "hw/boards.h"
 #include "hw/qdev-properties.h"
 #include "qemu/error-report.h"
--

2.41.0

#17 lore raw

PATCH 9/10 hw/arm/xlnx-versal: Remove 'hw/arm/boot.h' from header

In reply to Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

---
 include/hw/arm/xlnx-versal.h | 1 -
 hw/arm/xlnx-versal-virt.c    | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/xlnx-versal.h +0 -1
index 7b419f88c2..b710d71fb0 100644
@@ -13,7 +13,6 @@
 #define XLNX_VERSAL_H
 
 #include "hw/sysbus.h"
-#include "hw/arm/boot.h"
 #include "hw/cpu/cluster.h"
 #include "hw/or-irq.h"
 #include "hw/sd/sdhci.h"
hw/arm/xlnx-versal-virt.c +1 -0
index 88c561ff63..537118224f 100644
@@ -19,6 +19,7 @@
 #include "cpu.h"
 #include "hw/qdev-properties.h"
 #include "hw/arm/xlnx-versal.h"
+#include "hw/arm/boot.h"
 #include "qom/object.h"
 
 #define TYPE_XLNX_VERSAL_VIRT_MACHINE MACHINE_TYPE_NAME("xlnx-versal-virt")
Signature · 1 line
2.41.0
Reviewed-by on v1 9/10
#18 lore raw

Re: [PATCH 09/10] hw/arm/xlnx-versal: Remove 'hw/arm/boot.h' from header

Quoted 3 lines · Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

Quoted 33 lines
---
 include/hw/arm/xlnx-versal.h | 1 -
 hw/arm/xlnx-versal-virt.c    | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/xlnx-versal.h +0 -1
index 7b419f88c2..b710d71fb0 100644
@@ -13,7 +13,6 @@
 #define XLNX_VERSAL_H
 
 #include "hw/sysbus.h"
-#include "hw/arm/boot.h"
 #include "hw/cpu/cluster.h"
 #include "hw/or-irq.h"
 #include "hw/sd/sdhci.h"
hw/arm/xlnx-versal-virt.c +1 -1
index 88c561ff63..537118224f 100644
@@ -19,6 +19,7 @@
 #include "cpu.h"
 #include "hw/qdev-properties.h"
 #include "hw/arm/xlnx-versal.h"
+#include "hw/arm/boot.h"
 #include "qom/object.h"
 
 #define TYPE_XLNX_VERSAL_VIRT_MACHINE MACHINE_TYPE_NAME("xlnx-versal-virt")
--

2.41.0

#19 lore raw

PATCH 10/10 hw/arm/xlnx-zynqmp: Remove 'hw/arm/boot.h' from header

In reply to Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

---
 include/hw/arm/xlnx-zynqmp.h | 1 -
 hw/arm/xlnx-zcu102.c         | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/xlnx-zynqmp.h +0 -1
index 687c75e3b0..96358d51eb 100644
@@ -18,7 +18,6 @@
 #ifndef XLNX_ZYNQMP_H
 #define XLNX_ZYNQMP_H
 
-#include "hw/arm/boot.h"
 #include "hw/intc/arm_gic.h"
 #include "hw/net/cadence_gem.h"
 #include "hw/char/cadence_uart.h"
hw/arm/xlnx-zcu102.c +1 -0
index c5a07cfe19..4667cb333c 100644
@@ -18,6 +18,7 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "hw/arm/xlnx-zynqmp.h"
+#include "hw/arm/boot.h"
 #include "hw/boards.h"
 #include "qemu/error-report.h"
 #include "qemu/log.h"
Signature · 1 line
2.41.0
Reviewed-by on v1 10/10
#20 lore raw

Re: [PATCH 10/10] hw/arm/xlnx-zynqmp: Remove 'hw/arm/boot.h' from header

Quoted 3 lines · Philippe Mathieu-Daudé

"hw/arm/boot.h" is only required on the source file.

Quoted 33 lines
---
 include/hw/arm/xlnx-zynqmp.h | 1 -
 hw/arm/xlnx-zcu102.c         | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/xlnx-zynqmp.h +0 -1
index 687c75e3b0..96358d51eb 100644
@@ -18,7 +18,6 @@
 #ifndef XLNX_ZYNQMP_H
 #define XLNX_ZYNQMP_H
 
-#include "hw/arm/boot.h"
 #include "hw/intc/arm_gic.h"
 #include "hw/net/cadence_gem.h"
 #include "hw/char/cadence_uart.h"
hw/arm/xlnx-zcu102.c +1 -1
index c5a07cfe19..4667cb333c 100644
@@ -18,6 +18,7 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "hw/arm/xlnx-zynqmp.h"
+#include "hw/arm/boot.h"
 #include "hw/boards.h"
 #include "qemu/error-report.h"
 #include "qemu/log.h"
--

2.41.0

Reviewed-by on the v1 series
#21 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 14 lines · Philippe Mathieu-Daudé

Almost no ARM board header requires "hw/arm/boot.h". Move this header inclusion to the source.

Philippe Mathieu-Daudé (10):
hw/arm/allwinner-a10: Remove 'hw/arm/boot.h' from header hw/arm/allwinner-h3: Remove 'hw/arm/boot.h' from header hw/arm/allwinner-r40: Remove 'hw/arm/boot.h' from header hw/arm/fsl-imx25: Remove 'hw/arm/boot.h' from header hw/arm/fsl-imx31: Remove 'hw/arm/boot.h' from header hw/arm/fsl-imx6: Remove 'hw/arm/boot.h' from header hw/arm/fsl-imx6ul: Remove 'hw/arm/boot.h' from header hw/arm/fsl-imx7: Remove 'hw/arm/boot.h' from header hw/arm/xlnx-versal: Remove 'hw/arm/boot.h' from header hw/arm/xlnx-zynqmp: Remove 'hw/arm/boot.h' from header

r~

#22 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 4 lines · Philippe Mathieu-Daudé

Almost no ARM board header requires "hw/arm/boot.h". Move this header inclusion to the source.

Quoted 11 lines

Philippe Mathieu-Daudé (10):
hw/arm/allwinner-a10: Remove 'hw/arm/boot.h' from header hw/arm/allwinner-h3: Remove 'hw/arm/boot.h' from header hw/arm/allwinner-r40: Remove 'hw/arm/boot.h' from header hw/arm/fsl-imx25: Remove 'hw/arm/boot.h' from header hw/arm/fsl-imx31: Remove 'hw/arm/boot.h' from header hw/arm/fsl-imx6: Remove 'hw/arm/boot.h' from header hw/arm/fsl-imx6ul: Remove 'hw/arm/boot.h' from header hw/arm/fsl-imx7: Remove 'hw/arm/boot.h' from header hw/arm/xlnx-versal: Remove 'hw/arm/boot.h' from header hw/arm/xlnx-zynqmp: Remove 'hw/arm/boot.h' from header

Applied to target-arm.next, thanks.

-- PMM