Message ID | 20231025065316.56817-3-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/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 > > --
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;
"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(-)