Skip to content

Commit

Permalink
hw/arm/exynos4210: Get arm_boot_info declaration from 'hw/arm/boot.h'
Browse files Browse the repository at this point in the history
struct arm_boot_info is declared in "hw/arm/boot.h".
By including the correct header we don't need to declare
it again in "target/arm/cpu-qom.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20231013130214.95742-1-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  • Loading branch information
philmd authored and pm215 committed Oct 19, 2023
1 parent 29ecf2d commit 85c90d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion include/hw/arm/exynos4210.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "hw/intc/exynos4210_gic.h"
#include "hw/intc/exynos4210_combiner.h"
#include "hw/core/split-irq.h"
#include "target/arm/cpu-qom.h"
#include "hw/arm/boot.h"
#include "qom/object.h"

#define EXYNOS4210_NCPUS 2
Expand Down
2 changes: 0 additions & 2 deletions target/arm/cpu-qom.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
#include "hw/core/cpu.h"
#include "qom/object.h"

struct arm_boot_info;

#define TYPE_ARM_CPU "arm-cpu"

OBJECT_DECLARE_CPU_TYPE(ARMCPU, ARMCPUClass, ARM_CPU)
Expand Down

0 comments on commit 85c90d4

Please sign in to comment.