Message ID | 20231025065316.56817-5-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-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 > > --
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"
"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(-)