Message ID | 20231025065316.56817-9-philmd@linaro.org |
---|---|
State | New |
Headers | show |
Series | hw/arm: Move 'hw/arm/boot.h' from header to source | expand |
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 > > --
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"
"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(-)