diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2025-05-14 14:29:46 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2025-05-14 14:29:46 +0100 |
| commit | 0ab97bc070f9df7fd155707c7800667cbf26790f (patch) | |
| tree | 460085ff169b60266c17a0e4919513e207eb39c8 /hw/gpio/omap_gpio.c | |
| parent | d2c655a5f42ef7466c70cb223a9b9fc292f6b593 (diff) | |
| download | focaccia-qemu-0ab97bc070f9df7fd155707c7800667cbf26790f.tar.gz focaccia-qemu-0ab97bc070f9df7fd155707c7800667cbf26790f.zip | |
target/arm: Move aarch64 CPU property code to TYPE_ARM_CPU
The only thing we have left in the TYPE_AARCH64_CPU class that makes it different to TYPE_ARM_CPU is that we register the handling of the "aarch64" property there. Move the handling of this property to the base class, where we make it a property of the object rather than of the class, and add it to the CPU if it has the ARM_FEATURE_AARCH64 property present at init. This is in line with how we handle other Arm CPU properties, and should not change which CPUs it's visible for. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20250429132200.605611-6-peter.maydell@linaro.org
Diffstat (limited to 'hw/gpio/omap_gpio.c')
0 files changed, 0 insertions, 0 deletions