qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source
@ 2023-10-25  6:53 Philippe Mathieu-Daudé
  2023-10-25  6:53 ` [PATCH 01/10] hw/arm/allwinner-a10: Remove 'hw/arm/boot.h' from header Philippe Mathieu-Daudé
                   ` (11 more replies)
  0 siblings, 12 replies; 23+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-10-25  6:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, qemu-trivial, qemu-arm, Markus Armbruster,
	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

 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(-)

-- 
2.41.0



^ permalink raw reply	[flat|nested] 23+ messages in thread

* [PATCH 01/10] hw/arm/allwinner-a10: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source Philippe Mathieu-Daudé
@ 2023-10-25  6:53 ` Philippe Mathieu-Daudé
  2023-10-25 16:50   ` Luc Michel
  2023-10-25  6:53 ` [PATCH 02/10] hw/arm/allwinner-h3: " Philippe Mathieu-Daudé
                   ` (10 subsequent siblings)
  11 siblings, 1 reply; 23+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-10-25  6:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, qemu-trivial, qemu-arm, Markus Armbruster,
	Philippe Mathieu-Daudé, Beniamino Galvani, Peter Maydell,
	Strahinja Jankovic

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

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 include/hw/arm/allwinner-a10.h | 1 -
 hw/arm/cubieboard.c            | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hw/arm/allwinner-a10.h b/include/hw/arm/allwinner-a10.h
index cd1465c613..2eb83a17ea 100644
--- a/include/hw/arm/allwinner-a10.h
+++ b/include/hw/arm/allwinner-a10.h
@@ -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"
diff --git a/hw/arm/cubieboard.c b/hw/arm/cubieboard.c
index 8c7fa91529..29146f5018 100644
--- a/hw/arm/cubieboard.c
+++ b/hw/arm/cubieboard.c
@@ -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



^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [PATCH 02/10] hw/arm/allwinner-h3: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source Philippe Mathieu-Daudé
  2023-10-25  6:53 ` [PATCH 01/10] hw/arm/allwinner-a10: Remove 'hw/arm/boot.h' from header Philippe Mathieu-Daudé
@ 2023-10-25  6:53 ` Philippe Mathieu-Daudé
  2023-10-25 16:59   ` Luc Michel
  2023-10-25  6:53 ` [PATCH 03/10] hw/arm/allwinner-r40: " Philippe Mathieu-Daudé
                   ` (9 subsequent siblings)
  11 siblings, 1 reply; 23+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-10-25  6:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, qemu-trivial, qemu-arm, Markus Armbruster,
	Philippe Mathieu-Daudé, Niek Linnenbank, Peter Maydell,
	Beniamino Galvani, Strahinja Jankovic

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

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 include/hw/arm/allwinner-h3.h | 1 -
 hw/arm/orangepi.c             | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hw/arm/allwinner-h3.h b/include/hw/arm/allwinner-h3.h
index f15d6d7cc7..24ba4e1bf4 100644
--- a/include/hw/arm/allwinner-h3.h
+++ b/include/hw/arm/allwinner-h3.h
@@ -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"
diff --git a/hw/arm/orangepi.c b/hw/arm/orangepi.c
index 10653361ed..d0eca54cd9 100644
--- a/hw/arm/orangepi.c
+++ b/hw/arm/orangepi.c
@@ -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



^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [PATCH 03/10] hw/arm/allwinner-r40: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source Philippe Mathieu-Daudé
  2023-10-25  6:53 ` [PATCH 01/10] hw/arm/allwinner-a10: Remove 'hw/arm/boot.h' from header Philippe Mathieu-Daudé
  2023-10-25  6:53 ` [PATCH 02/10] hw/arm/allwinner-h3: " Philippe Mathieu-Daudé
@ 2023-10-25  6:53 ` Philippe Mathieu-Daudé
  2023-10-25 17:00   ` Luc Michel
  2023-10-25  6:53 ` [PATCH 04/10] hw/arm/fsl-imx25: " Philippe Mathieu-Daudé
                   ` (8 subsequent siblings)
  11 siblings, 1 reply; 23+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-10-25  6:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, qemu-trivial, qemu-arm, Markus Armbruster,
	Philippe Mathieu-Daudé, Peter Maydell, Beniamino Galvani,
	Strahinja Jankovic

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

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 include/hw/arm/allwinner-r40.h | 1 -
 hw/arm/bananapi_m2u.c          | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hw/arm/allwinner-r40.h b/include/hw/arm/allwinner-r40.h
index 72710d3edc..6e1ac9d4c1 100644
--- a/include/hw/arm/allwinner-r40.h
+++ b/include/hw/arm/allwinner-r40.h
@@ -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"
diff --git a/hw/arm/bananapi_m2u.c b/hw/arm/bananapi_m2u.c
index 74121d8966..a7c7a9f96d 100644
--- a/hw/arm/bananapi_m2u.c
+++ b/hw/arm/bananapi_m2u.c
@@ -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



^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [PATCH 04/10] hw/arm/fsl-imx25: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source Philippe Mathieu-Daudé
                   ` (2 preceding siblings ...)
  2023-10-25  6:53 ` [PATCH 03/10] hw/arm/allwinner-r40: " Philippe Mathieu-Daudé
@ 2023-10-25  6:53 ` Philippe Mathieu-Daudé
  2023-10-25 17:00   ` Luc Michel
  2023-10-25  6:53 ` [PATCH 05/10] hw/arm/fsl-imx31: " Philippe Mathieu-Daudé
                   ` (7 subsequent siblings)
  11 siblings, 1 reply; 23+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-10-25  6:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, qemu-trivial, qemu-arm, Markus Armbruster,
	Philippe Mathieu-Daudé, Peter Maydell,
	Jean-Christophe Dubois

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

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 include/hw/arm/fsl-imx25.h | 1 -
 hw/arm/imx25_pdk.c         | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hw/arm/fsl-imx25.h b/include/hw/arm/fsl-imx25.h
index 1b1086e945..df2f83980f 100644
--- a/include/hw/arm/fsl-imx25.h
+++ b/include/hw/arm/fsl-imx25.h
@@ -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"
diff --git a/hw/arm/imx25_pdk.c b/hw/arm/imx25_pdk.c
index b4f7f4e8a7..7dfddd49e2 100644
--- a/hw/arm/imx25_pdk.c
+++ b/hw/arm/imx25_pdk.c
@@ -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



^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [PATCH 05/10] hw/arm/fsl-imx31: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source Philippe Mathieu-Daudé
                   ` (3 preceding siblings ...)
  2023-10-25  6:53 ` [PATCH 04/10] hw/arm/fsl-imx25: " Philippe Mathieu-Daudé
@ 2023-10-25  6:53 ` Philippe Mathieu-Daudé
  2023-10-25 17:01   ` Luc Michel
  2023-10-25  6:53 ` [PATCH 06/10] hw/arm/fsl-imx6: " Philippe Mathieu-Daudé
                   ` (6 subsequent siblings)
  11 siblings, 1 reply; 23+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-10-25  6:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, qemu-trivial, qemu-arm, Markus Armbruster,
	Philippe Mathieu-Daudé, Peter Maydell

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

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 include/hw/arm/fsl-imx31.h | 1 -
 hw/arm/kzm.c               | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hw/arm/fsl-imx31.h b/include/hw/arm/fsl-imx31.h
index c116a73e0b..40c593a5cf 100644
--- a/include/hw/arm/fsl-imx31.h
+++ b/include/hw/arm/fsl-imx31.h
@@ -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"
diff --git a/hw/arm/kzm.c b/hw/arm/kzm.c
index b1b281c9ac..9be91ebeaa 100644
--- a/hw/arm/kzm.c
+++ b/hw/arm/kzm.c
@@ -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



^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [PATCH 06/10] hw/arm/fsl-imx6: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source Philippe Mathieu-Daudé
                   ` (4 preceding siblings ...)
  2023-10-25  6:53 ` [PATCH 05/10] hw/arm/fsl-imx31: " Philippe Mathieu-Daudé
@ 2023-10-25  6:53 ` Philippe Mathieu-Daudé
  2023-10-25 17:01   ` Luc Michel
  2023-10-25  6:53 ` [PATCH 07/10] hw/arm/fsl-imx6ul: " Philippe Mathieu-Daudé
                   ` (5 subsequent siblings)
  11 siblings, 1 reply; 23+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-10-25  6:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, qemu-trivial, qemu-arm, Markus Armbruster,
	Philippe Mathieu-Daudé, Peter Maydell,
	Jean-Christophe Dubois

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

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 include/hw/arm/fsl-imx6.h | 1 -
 hw/arm/sabrelite.c        | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hw/arm/fsl-imx6.h b/include/hw/arm/fsl-imx6.h
index 5b4d48da08..519b871014 100644
--- a/include/hw/arm/fsl-imx6.h
+++ b/include/hw/arm/fsl-imx6.h
@@ -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"
diff --git a/hw/arm/sabrelite.c b/hw/arm/sabrelite.c
index 41191245b8..56f184b9ae 100644
--- a/hw/arm/sabrelite.c
+++ b/hw/arm/sabrelite.c
@@ -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



^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [PATCH 07/10] hw/arm/fsl-imx6ul: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source Philippe Mathieu-Daudé
                   ` (5 preceding siblings ...)
  2023-10-25  6:53 ` [PATCH 06/10] hw/arm/fsl-imx6: " Philippe Mathieu-Daudé
@ 2023-10-25  6:53 ` Philippe Mathieu-Daudé
  2023-10-25 17:01   ` Luc Michel
  2023-10-25  6:53 ` [PATCH 08/10] hw/arm/fsl-imx7: " Philippe Mathieu-Daudé
                   ` (4 subsequent siblings)
  11 siblings, 1 reply; 23+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-10-25  6:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, qemu-trivial, qemu-arm, Markus Armbruster,
	Philippe Mathieu-Daudé, Peter Maydell,
	Jean-Christophe Dubois

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

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 include/hw/arm/fsl-imx6ul.h | 1 -
 hw/arm/mcimx6ul-evk.c       | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hw/arm/fsl-imx6ul.h b/include/hw/arm/fsl-imx6ul.h
index 63012628ff..14390f6014 100644
--- a/include/hw/arm/fsl-imx6ul.h
+++ b/include/hw/arm/fsl-imx6ul.h
@@ -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"
diff --git a/hw/arm/mcimx6ul-evk.c b/hw/arm/mcimx6ul-evk.c
index 3ac1e2ea9b..500427e94b 100644
--- a/hw/arm/mcimx6ul-evk.c
+++ b/hw/arm/mcimx6ul-evk.c
@@ -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



^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [PATCH 08/10] hw/arm/fsl-imx7: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source Philippe Mathieu-Daudé
                   ` (6 preceding siblings ...)
  2023-10-25  6:53 ` [PATCH 07/10] hw/arm/fsl-imx6ul: " Philippe Mathieu-Daudé
@ 2023-10-25  6:53 ` Philippe Mathieu-Daudé
  2023-10-25 17:02   ` Luc Michel
  2023-10-25  6:53 ` [PATCH 09/10] hw/arm/xlnx-versal: " Philippe Mathieu-Daudé
                   ` (3 subsequent siblings)
  11 siblings, 1 reply; 23+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-10-25  6:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, qemu-trivial, qemu-arm, Markus Armbruster,
	Philippe Mathieu-Daudé, Peter Maydell, Andrey Smirnov

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

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 include/hw/arm/fsl-imx7.h | 1 -
 hw/arm/mcimx7d-sabre.c    | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hw/arm/fsl-imx7.h b/include/hw/arm/fsl-imx7.h
index 2cbfc6b2b2..411fa1c2e3 100644
--- a/include/hw/arm/fsl-imx7.h
+++ b/include/hw/arm/fsl-imx7.h
@@ -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"
diff --git a/hw/arm/mcimx7d-sabre.c b/hw/arm/mcimx7d-sabre.c
index d1778122b6..693a1023b6 100644
--- a/hw/arm/mcimx7d-sabre.c
+++ b/hw/arm/mcimx7d-sabre.c
@@ -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



^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [PATCH 09/10] hw/arm/xlnx-versal: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source Philippe Mathieu-Daudé
                   ` (7 preceding siblings ...)
  2023-10-25  6:53 ` [PATCH 08/10] hw/arm/fsl-imx7: " Philippe Mathieu-Daudé
@ 2023-10-25  6:53 ` Philippe Mathieu-Daudé
  2023-10-25 17:02   ` Luc Michel
  2023-10-25  6:53 ` [PATCH 10/10] hw/arm/xlnx-zynqmp: " Philippe Mathieu-Daudé
                   ` (2 subsequent siblings)
  11 siblings, 1 reply; 23+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-10-25  6:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, qemu-trivial, qemu-arm, Markus Armbruster,
	Philippe Mathieu-Daudé, Alistair Francis, Edgar E. Iglesias,
	Peter Maydell

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

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 include/hw/arm/xlnx-versal.h | 1 -
 hw/arm/xlnx-versal-virt.c    | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hw/arm/xlnx-versal.h b/include/hw/arm/xlnx-versal.h
index 7b419f88c2..b710d71fb0 100644
--- a/include/hw/arm/xlnx-versal.h
+++ b/include/hw/arm/xlnx-versal.h
@@ -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"
diff --git a/hw/arm/xlnx-versal-virt.c b/hw/arm/xlnx-versal-virt.c
index 88c561ff63..537118224f 100644
--- a/hw/arm/xlnx-versal-virt.c
+++ b/hw/arm/xlnx-versal-virt.c
@@ -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



^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [PATCH 10/10] hw/arm/xlnx-zynqmp: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source Philippe Mathieu-Daudé
                   ` (8 preceding siblings ...)
  2023-10-25  6:53 ` [PATCH 09/10] hw/arm/xlnx-versal: " Philippe Mathieu-Daudé
@ 2023-10-25  6:53 ` Philippe Mathieu-Daudé
  2023-10-25 17:02   ` Luc Michel
  2023-10-25 23:23 ` [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source Richard Henderson
  2023-10-27 11:42 ` Peter Maydell
  11 siblings, 1 reply; 23+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-10-25  6:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, qemu-trivial, qemu-arm, Markus Armbruster,
	Philippe Mathieu-Daudé, Alistair Francis, Edgar E. Iglesias,
	Peter Maydell

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

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 include/hw/arm/xlnx-zynqmp.h | 1 -
 hw/arm/xlnx-zcu102.c         | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hw/arm/xlnx-zynqmp.h b/include/hw/arm/xlnx-zynqmp.h
index 687c75e3b0..96358d51eb 100644
--- a/include/hw/arm/xlnx-zynqmp.h
+++ b/include/hw/arm/xlnx-zynqmp.h
@@ -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"
diff --git a/hw/arm/xlnx-zcu102.c b/hw/arm/xlnx-zcu102.c
index c5a07cfe19..4667cb333c 100644
--- a/hw/arm/xlnx-zcu102.c
+++ b/hw/arm/xlnx-zcu102.c
@@ -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



^ permalink raw reply related	[flat|nested] 23+ messages in thread

* Re: [PATCH 01/10] hw/arm/allwinner-a10: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 ` [PATCH 01/10] hw/arm/allwinner-a10: Remove 'hw/arm/boot.h' from header Philippe Mathieu-Daudé
@ 2023-10-25 16:50   ` Luc Michel
  0 siblings, 0 replies; 23+ messages in thread
From: Luc Michel @ 2023-10-25 16:50 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: qemu-devel, Thomas Huth, qemu-trivial, qemu-arm,
	Markus Armbruster, Beniamino Galvani, Peter Maydell,
	Strahinja Jankovic

On 08:53 Wed 25 Oct     , Philippe Mathieu-Daudé wrote:
> "hw/arm/boot.h" is only required on the source file.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Reviewed-by: Luc Michel <luc.michel@amd.com>

> ---
>  include/hw/arm/allwinner-a10.h | 1 -
>  hw/arm/cubieboard.c            | 1 +
>  2 files changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/hw/arm/allwinner-a10.h b/include/hw/arm/allwinner-a10.h
> index cd1465c613..2eb83a17ea 100644
> --- a/include/hw/arm/allwinner-a10.h
> +++ b/include/hw/arm/allwinner-a10.h
> @@ -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"
> diff --git a/hw/arm/cubieboard.c b/hw/arm/cubieboard.c
> index 8c7fa91529..29146f5018 100644
> --- a/hw/arm/cubieboard.c
> +++ b/hw/arm/cubieboard.c
> @@ -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
> 
> 

-- 


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 02/10] hw/arm/allwinner-h3: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 ` [PATCH 02/10] hw/arm/allwinner-h3: " Philippe Mathieu-Daudé
@ 2023-10-25 16:59   ` Luc Michel
  0 siblings, 0 replies; 23+ messages in thread
From: Luc Michel @ 2023-10-25 16:59 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: qemu-devel, Thomas Huth, qemu-trivial, qemu-arm,
	Markus Armbruster, Niek Linnenbank, Peter Maydell,
	Beniamino Galvani, Strahinja Jankovic

On 08:53 Wed 25 Oct     , Philippe Mathieu-Daudé wrote:
> "hw/arm/boot.h" is only required on the source file.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Reviewed-by: Luc Michel <luc.michel@amd.com>

> ---
>  include/hw/arm/allwinner-h3.h | 1 -
>  hw/arm/orangepi.c             | 1 +
>  2 files changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/hw/arm/allwinner-h3.h b/include/hw/arm/allwinner-h3.h
> index f15d6d7cc7..24ba4e1bf4 100644
> --- a/include/hw/arm/allwinner-h3.h
> +++ b/include/hw/arm/allwinner-h3.h
> @@ -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"
> diff --git a/hw/arm/orangepi.c b/hw/arm/orangepi.c
> index 10653361ed..d0eca54cd9 100644
> --- a/hw/arm/orangepi.c
> +++ b/hw/arm/orangepi.c
> @@ -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
> 
> 

-- 


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 03/10] hw/arm/allwinner-r40: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 ` [PATCH 03/10] hw/arm/allwinner-r40: " Philippe Mathieu-Daudé
@ 2023-10-25 17:00   ` Luc Michel
  0 siblings, 0 replies; 23+ messages in thread
From: Luc Michel @ 2023-10-25 17:00 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: qemu-devel, Thomas Huth, qemu-trivial, qemu-arm,
	Markus Armbruster, Peter Maydell, Beniamino Galvani,
	Strahinja Jankovic

On 08:53 Wed 25 Oct     , Philippe Mathieu-Daudé wrote:
> "hw/arm/boot.h" is only required on the source file.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Reviewed-by: Luc Michel <luc.michel@amd.com>

> ---
>  include/hw/arm/allwinner-r40.h | 1 -
>  hw/arm/bananapi_m2u.c          | 1 +
>  2 files changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/hw/arm/allwinner-r40.h b/include/hw/arm/allwinner-r40.h
> index 72710d3edc..6e1ac9d4c1 100644
> --- a/include/hw/arm/allwinner-r40.h
> +++ b/include/hw/arm/allwinner-r40.h
> @@ -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"
> diff --git a/hw/arm/bananapi_m2u.c b/hw/arm/bananapi_m2u.c
> index 74121d8966..a7c7a9f96d 100644
> --- a/hw/arm/bananapi_m2u.c
> +++ b/hw/arm/bananapi_m2u.c
> @@ -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
> 
> 

-- 


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 04/10] hw/arm/fsl-imx25: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 ` [PATCH 04/10] hw/arm/fsl-imx25: " Philippe Mathieu-Daudé
@ 2023-10-25 17:00   ` Luc Michel
  0 siblings, 0 replies; 23+ messages in thread
From: Luc Michel @ 2023-10-25 17:00 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: qemu-devel, Thomas Huth, qemu-trivial, qemu-arm,
	Markus Armbruster, Peter Maydell, Jean-Christophe Dubois

On 08:53 Wed 25 Oct     , Philippe Mathieu-Daudé wrote:
> "hw/arm/boot.h" is only required on the source file.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Reviewed-by: Luc Michel <luc.michel@amd.com>

> ---
>  include/hw/arm/fsl-imx25.h | 1 -
>  hw/arm/imx25_pdk.c         | 1 +
>  2 files changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/hw/arm/fsl-imx25.h b/include/hw/arm/fsl-imx25.h
> index 1b1086e945..df2f83980f 100644
> --- a/include/hw/arm/fsl-imx25.h
> +++ b/include/hw/arm/fsl-imx25.h
> @@ -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"
> diff --git a/hw/arm/imx25_pdk.c b/hw/arm/imx25_pdk.c
> index b4f7f4e8a7..7dfddd49e2 100644
> --- a/hw/arm/imx25_pdk.c
> +++ b/hw/arm/imx25_pdk.c
> @@ -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
> 
> 

-- 


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 05/10] hw/arm/fsl-imx31: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 ` [PATCH 05/10] hw/arm/fsl-imx31: " Philippe Mathieu-Daudé
@ 2023-10-25 17:01   ` Luc Michel
  0 siblings, 0 replies; 23+ messages in thread
From: Luc Michel @ 2023-10-25 17:01 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: qemu-devel, Thomas Huth, qemu-trivial, qemu-arm,
	Markus Armbruster, Peter Maydell

On 08:53 Wed 25 Oct     , Philippe Mathieu-Daudé wrote:
> "hw/arm/boot.h" is only required on the source file.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Reviewed-by: Luc Michel <luc.michel@amd.com>

> ---
>  include/hw/arm/fsl-imx31.h | 1 -
>  hw/arm/kzm.c               | 1 +
>  2 files changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/hw/arm/fsl-imx31.h b/include/hw/arm/fsl-imx31.h
> index c116a73e0b..40c593a5cf 100644
> --- a/include/hw/arm/fsl-imx31.h
> +++ b/include/hw/arm/fsl-imx31.h
> @@ -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"
> diff --git a/hw/arm/kzm.c b/hw/arm/kzm.c
> index b1b281c9ac..9be91ebeaa 100644
> --- a/hw/arm/kzm.c
> +++ b/hw/arm/kzm.c
> @@ -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
> 
> 

-- 


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 06/10] hw/arm/fsl-imx6: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 ` [PATCH 06/10] hw/arm/fsl-imx6: " Philippe Mathieu-Daudé
@ 2023-10-25 17:01   ` Luc Michel
  0 siblings, 0 replies; 23+ messages in thread
From: Luc Michel @ 2023-10-25 17:01 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: qemu-devel, Thomas Huth, qemu-trivial, qemu-arm,
	Markus Armbruster, Peter Maydell, Jean-Christophe Dubois

On 08:53 Wed 25 Oct     , Philippe Mathieu-Daudé wrote:
> "hw/arm/boot.h" is only required on the source file.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Reviewed-by: Luc Michel <luc.michel@amd.com>

> ---
>  include/hw/arm/fsl-imx6.h | 1 -
>  hw/arm/sabrelite.c        | 1 +
>  2 files changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/hw/arm/fsl-imx6.h b/include/hw/arm/fsl-imx6.h
> index 5b4d48da08..519b871014 100644
> --- a/include/hw/arm/fsl-imx6.h
> +++ b/include/hw/arm/fsl-imx6.h
> @@ -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"
> diff --git a/hw/arm/sabrelite.c b/hw/arm/sabrelite.c
> index 41191245b8..56f184b9ae 100644
> --- a/hw/arm/sabrelite.c
> +++ b/hw/arm/sabrelite.c
> @@ -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
> 
> 

-- 


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 07/10] hw/arm/fsl-imx6ul: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 ` [PATCH 07/10] hw/arm/fsl-imx6ul: " Philippe Mathieu-Daudé
@ 2023-10-25 17:01   ` Luc Michel
  0 siblings, 0 replies; 23+ messages in thread
From: Luc Michel @ 2023-10-25 17:01 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: qemu-devel, Thomas Huth, qemu-trivial, qemu-arm,
	Markus Armbruster, Peter Maydell, Jean-Christophe Dubois

On 08:53 Wed 25 Oct     , Philippe Mathieu-Daudé wrote:
> "hw/arm/boot.h" is only required on the source file.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Reviewed-by: Luc Michel <luc.michel@amd.com>

> ---
>  include/hw/arm/fsl-imx6ul.h | 1 -
>  hw/arm/mcimx6ul-evk.c       | 1 +
>  2 files changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/hw/arm/fsl-imx6ul.h b/include/hw/arm/fsl-imx6ul.h
> index 63012628ff..14390f6014 100644
> --- a/include/hw/arm/fsl-imx6ul.h
> +++ b/include/hw/arm/fsl-imx6ul.h
> @@ -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"
> diff --git a/hw/arm/mcimx6ul-evk.c b/hw/arm/mcimx6ul-evk.c
> index 3ac1e2ea9b..500427e94b 100644
> --- a/hw/arm/mcimx6ul-evk.c
> +++ b/hw/arm/mcimx6ul-evk.c
> @@ -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
> 
> 

-- 


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 08/10] hw/arm/fsl-imx7: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 ` [PATCH 08/10] hw/arm/fsl-imx7: " Philippe Mathieu-Daudé
@ 2023-10-25 17:02   ` Luc Michel
  0 siblings, 0 replies; 23+ messages in thread
From: Luc Michel @ 2023-10-25 17:02 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: qemu-devel, Thomas Huth, qemu-trivial, qemu-arm,
	Markus Armbruster, Peter Maydell, Andrey Smirnov

On 08:53 Wed 25 Oct     , Philippe Mathieu-Daudé wrote:
> "hw/arm/boot.h" is only required on the source file.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Reviewed-by: Luc Michel <luc.michel@amd.com>

> ---
>  include/hw/arm/fsl-imx7.h | 1 -
>  hw/arm/mcimx7d-sabre.c    | 1 +
>  2 files changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/hw/arm/fsl-imx7.h b/include/hw/arm/fsl-imx7.h
> index 2cbfc6b2b2..411fa1c2e3 100644
> --- a/include/hw/arm/fsl-imx7.h
> +++ b/include/hw/arm/fsl-imx7.h
> @@ -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"
> diff --git a/hw/arm/mcimx7d-sabre.c b/hw/arm/mcimx7d-sabre.c
> index d1778122b6..693a1023b6 100644
> --- a/hw/arm/mcimx7d-sabre.c
> +++ b/hw/arm/mcimx7d-sabre.c
> @@ -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
> 
> 

-- 


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 09/10] hw/arm/xlnx-versal: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 ` [PATCH 09/10] hw/arm/xlnx-versal: " Philippe Mathieu-Daudé
@ 2023-10-25 17:02   ` Luc Michel
  0 siblings, 0 replies; 23+ messages in thread
From: Luc Michel @ 2023-10-25 17:02 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: qemu-devel, Thomas Huth, qemu-trivial, qemu-arm,
	Markus Armbruster, Alistair Francis, Edgar E. Iglesias,
	Peter Maydell

On 08:53 Wed 25 Oct     , Philippe Mathieu-Daudé wrote:
> "hw/arm/boot.h" is only required on the source file.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Reviewed-by: Luc Michel <luc.michel@amd.com>

> ---
>  include/hw/arm/xlnx-versal.h | 1 -
>  hw/arm/xlnx-versal-virt.c    | 1 +
>  2 files changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/hw/arm/xlnx-versal.h b/include/hw/arm/xlnx-versal.h
> index 7b419f88c2..b710d71fb0 100644
> --- a/include/hw/arm/xlnx-versal.h
> +++ b/include/hw/arm/xlnx-versal.h
> @@ -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"
> diff --git a/hw/arm/xlnx-versal-virt.c b/hw/arm/xlnx-versal-virt.c
> index 88c561ff63..537118224f 100644
> --- a/hw/arm/xlnx-versal-virt.c
> +++ b/hw/arm/xlnx-versal-virt.c
> @@ -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
> 
> 

-- 


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 10/10] hw/arm/xlnx-zynqmp: Remove 'hw/arm/boot.h' from header
  2023-10-25  6:53 ` [PATCH 10/10] hw/arm/xlnx-zynqmp: " Philippe Mathieu-Daudé
@ 2023-10-25 17:02   ` Luc Michel
  0 siblings, 0 replies; 23+ messages in thread
From: Luc Michel @ 2023-10-25 17:02 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: qemu-devel, Thomas Huth, qemu-trivial, qemu-arm,
	Markus Armbruster, Alistair Francis, Edgar E. Iglesias,
	Peter Maydell

On 08:53 Wed 25 Oct     , Philippe Mathieu-Daudé wrote:
> "hw/arm/boot.h" is only required on the source file.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Reviewed-by: Luc Michel <luc.michel@amd.com>

> ---
>  include/hw/arm/xlnx-zynqmp.h | 1 -
>  hw/arm/xlnx-zcu102.c         | 1 +
>  2 files changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/hw/arm/xlnx-zynqmp.h b/include/hw/arm/xlnx-zynqmp.h
> index 687c75e3b0..96358d51eb 100644
> --- a/include/hw/arm/xlnx-zynqmp.h
> +++ b/include/hw/arm/xlnx-zynqmp.h
> @@ -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"
> diff --git a/hw/arm/xlnx-zcu102.c b/hw/arm/xlnx-zcu102.c
> index c5a07cfe19..4667cb333c 100644
> --- a/hw/arm/xlnx-zcu102.c
> +++ b/hw/arm/xlnx-zcu102.c
> @@ -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
> 
> 

-- 


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source
  2023-10-25  6:53 [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source Philippe Mathieu-Daudé
                   ` (9 preceding siblings ...)
  2023-10-25  6:53 ` [PATCH 10/10] hw/arm/xlnx-zynqmp: " Philippe Mathieu-Daudé
@ 2023-10-25 23:23 ` Richard Henderson
  2023-10-27 11:42 ` Peter Maydell
  11 siblings, 0 replies; 23+ messages in thread
From: Richard Henderson @ 2023-10-25 23:23 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé, qemu-devel
  Cc: Thomas Huth, qemu-trivial, qemu-arm, Markus Armbruster

On 10/24/23 23:53, Philippe Mathieu-Daudé wrote:
> 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

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source
  2023-10-25  6:53 [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source Philippe Mathieu-Daudé
                   ` (10 preceding siblings ...)
  2023-10-25 23:23 ` [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source Richard Henderson
@ 2023-10-27 11:42 ` Peter Maydell
  11 siblings, 0 replies; 23+ messages in thread
From: Peter Maydell @ 2023-10-27 11:42 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: qemu-devel, Thomas Huth, qemu-trivial, qemu-arm,
	Markus Armbruster

On Wed, 25 Oct 2023 at 07:54, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
>
> 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



Applied to target-arm.next, thanks.

-- PMM


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2023-10-27 11:43 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-25  6:53 [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source Philippe Mathieu-Daudé
2023-10-25  6:53 ` [PATCH 01/10] hw/arm/allwinner-a10: Remove 'hw/arm/boot.h' from header Philippe Mathieu-Daudé
2023-10-25 16:50   ` Luc Michel
2023-10-25  6:53 ` [PATCH 02/10] hw/arm/allwinner-h3: " Philippe Mathieu-Daudé
2023-10-25 16:59   ` Luc Michel
2023-10-25  6:53 ` [PATCH 03/10] hw/arm/allwinner-r40: " Philippe Mathieu-Daudé
2023-10-25 17:00   ` Luc Michel
2023-10-25  6:53 ` [PATCH 04/10] hw/arm/fsl-imx25: " Philippe Mathieu-Daudé
2023-10-25 17:00   ` Luc Michel
2023-10-25  6:53 ` [PATCH 05/10] hw/arm/fsl-imx31: " Philippe Mathieu-Daudé
2023-10-25 17:01   ` Luc Michel
2023-10-25  6:53 ` [PATCH 06/10] hw/arm/fsl-imx6: " Philippe Mathieu-Daudé
2023-10-25 17:01   ` Luc Michel
2023-10-25  6:53 ` [PATCH 07/10] hw/arm/fsl-imx6ul: " Philippe Mathieu-Daudé
2023-10-25 17:01   ` Luc Michel
2023-10-25  6:53 ` [PATCH 08/10] hw/arm/fsl-imx7: " Philippe Mathieu-Daudé
2023-10-25 17:02   ` Luc Michel
2023-10-25  6:53 ` [PATCH 09/10] hw/arm/xlnx-versal: " Philippe Mathieu-Daudé
2023-10-25 17:02   ` Luc Michel
2023-10-25  6:53 ` [PATCH 10/10] hw/arm/xlnx-zynqmp: " Philippe Mathieu-Daudé
2023-10-25 17:02   ` Luc Michel
2023-10-25 23:23 ` [PATCH 00/10] hw/arm: Move 'hw/arm/boot.h' from header to source Richard Henderson
2023-10-27 11:42 ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).