From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>,
qemu-arm@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [PATCH for-9.2 40/53] hw/intc: Remove omap2-intc device
Date: Mon, 9 Sep 2024 20:02:37 +0200 [thread overview]
Message-ID: <f7f03006-9c7e-41a1-a683-db19378928b4@linaro.org> (raw)
In-Reply-To: <20240903160751.4100218-41-peter.maydell@linaro.org>
On 3/9/24 18:07, Peter Maydell wrote:
> Remove the OMAP2 specific code from omap_intc.c.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> hw/intc/omap_intc.c | 276 --------------------------------------------
> 1 file changed, 276 deletions(-)
> -static const TypeInfo omap2_intc_info = {
> - .name = "omap2-intc",
> - .parent = TYPE_OMAP_INTC,
> - .instance_init = omap2_intc_init,
> - .class_init = omap2_intc_class_init,
> -};
> -
> static const TypeInfo omap_intc_type_info = {
> .name = TYPE_OMAP_INTC,
> .parent = TYPE_SYS_BUS_DEVICE,
> @@ -684,7 +409,6 @@ static void omap_intc_register_types(void)
> {
> type_register_static(&omap_intc_type_info);
> type_register_static(&omap_intc_info);
> - type_register_static(&omap2_intc_info);
> }
>
> type_init(omap_intc_register_types)
I'd squash in the same commit the abstract parent removal:
-- >8 --
diff --git a/include/hw/arm/omap.h b/include/hw/arm/omap.h
index 67bb83dff5..43a1a9ebe7 100644
--- a/include/hw/arm/omap.h
+++ b/include/hw/arm/omap.h
@@ -68,7 +68,7 @@ int64_t omap_clk_getrate(omap_clk clk);
void omap_clk_reparent(omap_clk clk, omap_clk parent);
/* omap_intc.c */
-#define TYPE_OMAP_INTC "common-omap-intc"
+#define TYPE_OMAP_INTC "omap-intc"
typedef struct OMAPIntcState OMAPIntcState;
DECLARE_INSTANCE_CHECKER(OMAPIntcState, OMAP_INTC, TYPE_OMAP_INTC)
diff --git a/hw/intc/omap_intc.c b/hw/intc/omap_intc.c
index c14b22d381..f4f5f8455b 100644
--- a/hw/intc/omap_intc.c
+++ b/hw/intc/omap_intc.c
@@ -392,22 +392,15 @@ static void omap_intc_class_init(ObjectClass
*klass, void *data)
}
static const TypeInfo omap_intc_info = {
- .name = "omap-intc",
- .parent = TYPE_OMAP_INTC,
+ .name = TYPE_OMAP_INTC,
+ .parent = TYPE_SYS_BUS_DEVICE,
+ .instance_size = sizeof(OMAPIntcState),
.instance_init = omap_intc_init,
.class_init = omap_intc_class_init,
};
-static const TypeInfo omap_intc_type_info = {
- .name = TYPE_OMAP_INTC,
- .parent = TYPE_SYS_BUS_DEVICE,
- .instance_size = sizeof(OMAPIntcState),
- .abstract = true,
-};
-
static void omap_intc_register_types(void)
{
- type_register_static(&omap_intc_type_info);
type_register_static(&omap_intc_info);
}
---
But this can be done on top, so:
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
next prev parent reply other threads:[~2024-09-09 18:03 UTC|newest]
Thread overview: 112+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-03 16:06 [PATCH for-9.2 00/53] arm: Drop deprecated boards Peter Maydell
2024-09-03 16:06 ` [PATCH for-9.2 01/53] hw/arm: Remove deprecated akita, borzoi, spitz, terrier, tosa boards Peter Maydell
2024-09-03 21:29 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 02/53] hw/input: Drop ADS7846 device Peter Maydell
2024-09-04 8:54 ` Thomas Huth
2024-09-03 16:07 ` [PATCH for-9.2 03/53] hw/adc: Remove MAX111X device Peter Maydell
2024-09-03 16:07 ` [PATCH for-9.2 04/53] hw/gpio: Remove MAX7310 device Peter Maydell
2024-09-03 16:07 ` [PATCH for-9.2 05/53] hw/ide: Remove DSCM-1XXXX microdrive device model Peter Maydell
2024-09-03 16:07 ` [PATCH for-9.2 06/53] hw/display: Remove tc6393xb device Peter Maydell
2024-09-03 16:07 ` [PATCH for-9.2 07/53] hw/arm/KConfig: Replace ZAURUS with ZAURUS_SCOOP Peter Maydell
2024-09-09 17:43 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 08/53] hw/arm: Remove 'cheetah' machine Peter Maydell
2024-09-03 16:07 ` [PATCH for-9.2 09/53] hw/arm: Remove 'connex' and 'verdex' machines Peter Maydell
2024-09-03 21:27 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 10/53] hw/arm: Remove 'mainstone' machine Peter Maydell
2024-09-05 11:51 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 11/53] hw/misc: Remove MAINSTONE_FPGA device Peter Maydell
2024-09-05 11:52 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 12/53] hw/arm: Remove 'z2' machine Peter Maydell
2024-09-05 11:54 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 13/53] hw/arm: Remove STRONGARM->PXA2XX dependency Peter Maydell
2024-09-09 17:44 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 14/53] hw/timer/pxa2xx_timer: Remove use of pxa.h header Peter Maydell
2024-09-09 17:44 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 15/53] hw/arm: Remove pxa2xx.c Peter Maydell
2024-09-09 17:45 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 16/53] hw/sd: Remove pxa2xx_mmci.c Peter Maydell
2024-09-03 20:32 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 17/53] hw/input: Remove pxa2xx_keypad Peter Maydell
2024-09-09 17:45 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 18/53] hw/display: Remove pxa2xx_lcd.c Peter Maydell
2024-09-03 16:07 ` [PATCH for-9.2 19/53] hw/dma: Remove pxa2xx_dma Peter Maydell
2024-09-03 21:33 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 20/53] hw/pcmcia: Remove pxa2xx pcmcia device Peter Maydell
2024-09-05 11:47 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 21/53] hw/arm: Remove pxa2xx_gpio Peter Maydell
2024-09-05 11:48 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 22/53] hw/arm: Remove pxa2xx_pic Peter Maydell
2024-09-03 16:07 ` [PATCH for-9.2 23/53] hw/timer: Remove pxa27x-timer Peter Maydell
2024-09-09 17:50 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 24/53] vl.c: Remove pxa2xx-specific -portrait and -rotate options Peter Maydell
2024-09-03 16:07 ` [PATCH for-9.2 25/53] hw/arm: Remove 'n800' and 'n810' machines Peter Maydell
2024-09-04 9:01 ` Thomas Huth
2024-09-05 11:49 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 26/53] hw/misc: Remove cbus Peter Maydell
2024-09-03 21:37 ` Philippe Mathieu-Daudé
2024-09-04 9:22 ` Peter Maydell
2024-09-03 16:07 ` [PATCH for-9.2 27/53] hw/display: Remove Blizzard display device Peter Maydell
2024-09-04 9:24 ` Thomas Huth
2024-09-03 16:07 ` [PATCH for-9.2 28/53] hw/input: Remove tsc2005 touchscreen controller Peter Maydell
2024-09-04 9:26 ` Thomas Huth
2024-09-03 16:07 ` [PATCH for-9.2 29/53] hw/input: Remove tsc210x device Peter Maydell
2024-09-04 9:35 ` Thomas Huth
2024-09-03 16:07 ` [PATCH for-9.2 30/53] hw/rtc: Remove twl92230 device Peter Maydell
2024-09-04 10:04 ` Thomas Huth
2024-09-03 16:07 ` [PATCH for-9.2 31/53] hw/input: Remove lm832x device Peter Maydell
2024-09-04 10:05 ` Thomas Huth
2024-09-03 16:07 ` [PATCH for-9.2 32/53] hw/block: Remove OneNAND device Peter Maydell
2024-09-04 10:08 ` Thomas Huth
2024-09-03 16:07 ` [PATCH for-9.2 33/53] hw/usb: Remove tusb6010 USB controller Peter Maydell
2024-09-04 10:09 ` Thomas Huth
2024-09-03 16:07 ` [PATCH for-9.2 34/53] hw/usb: Remove MUSB USB host controller Peter Maydell
2024-09-04 10:11 ` Thomas Huth
2024-09-03 16:07 ` [PATCH for-9.2 35/53] hw: Remove PCMCIA subsystem Peter Maydell
2024-09-04 13:11 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 36/53] docs: Document removal of old Arm boards Peter Maydell
2024-09-03 21:25 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 37/53] hw/arm: Remove omap2.c Peter Maydell
2024-09-09 17:51 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 38/53] hw/gpio: Remove TYPE_OMAP2_GPIO Peter Maydell
2024-09-09 17:52 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 39/53] hw/char: Remove omap2_uart Peter Maydell
2024-09-09 17:52 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 40/53] hw/intc: Remove omap2-intc device Peter Maydell
2024-09-09 18:02 ` Philippe Mathieu-Daudé [this message]
2024-09-03 16:07 ` [PATCH for-9.2 41/53] hw/sd: Remove omap2_mmc device Peter Maydell
2024-09-03 20:33 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 42/53] hw/misc: Remove omap_sdrc device Peter Maydell
2024-09-09 17:53 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 43/53] hw/misc: Remove omap_gpmc Peter Maydell
2024-09-09 17:54 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 44/53] hw/timer: Remove omap_gptimer Peter Maydell
2024-09-09 17:54 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 45/53] hw/timer: Remove omap_synctimer Peter Maydell
2024-09-09 17:55 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 46/53] hw/block: Remove ecc Peter Maydell
2024-09-03 16:07 ` [PATCH for-9.2 47/53] hw/ssi: Remove omap_mcspi Peter Maydell
2024-09-03 16:07 ` [PATCH for-9.2 48/53] hw/misc: Remove omap_tap device Peter Maydell
2024-09-09 17:56 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 49/53] hw/display: Remove omap_dss Peter Maydell
2024-09-03 16:07 ` [PATCH for-9.2 50/53] hw/misc: Remove omap_l4 device Peter Maydell
2024-09-09 17:56 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 51/53] hw/misc/omap_clk: Remove OMAP2-specifics Peter Maydell
2024-09-03 16:07 ` [PATCH for-9.2 52/53] hw/dma: Remove omap_dma4 device Peter Maydell
2024-09-09 17:57 ` Philippe Mathieu-Daudé
2024-09-03 16:07 ` [PATCH for-9.2 53/53] hw: Remove omap2 specific defines and enums Peter Maydell
2024-09-09 17:58 ` Philippe Mathieu-Daudé
2024-09-03 16:55 ` [PATCH for-9.2 00/53] arm: Drop deprecated boards Paolo Bonzini
2024-09-03 17:03 ` Peter Maydell
2024-09-03 17:15 ` Paolo Bonzini
2024-09-05 12:06 ` Peter Maydell
2024-09-09 13:40 ` Philippe Mathieu-Daudé
2024-09-09 13:44 ` Peter Maydell
2024-09-09 17:25 ` Philippe Mathieu-Daudé
2024-09-09 18:16 ` Peter Maydell
2024-09-09 14:55 ` Guenter Roeck
2024-09-09 15:02 ` Peter Maydell
2024-09-09 15:45 ` Philippe Mathieu-Daudé
2024-09-09 17:02 ` Guenter Roeck
2024-09-10 10:17 ` Peter Maydell
2024-09-16 10:26 ` Peter Maydell
2024-10-01 13:04 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7f03006-9c7e-41a1-a683-db19378928b4@linaro.org \
--to=philmd@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).