On Tue, 3 Sept 2024 at 22:37, Philippe Mathieu-Daudé <phi...@linaro.org> wrote:
>
> On 3/9/24 18:07, Peter Maydell wrote:
> > The devices in hw/misc/cbus.c were used only by the
> > now-removed nseries machine types, so they can be removed.
> >
> > As this is the last use of the CONFIG_NSERIES define we
> > can remove that from KConfig now.
> >
> > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
> > ---
> >   MAINTAINERS            |   2 -
> >   include/hw/misc/cbus.h |  31 ---
> >   hw/misc/cbus.c         | 619 -----------------------------------------
> >   hw/arm/Kconfig         |  14 -
> >   hw/misc/meson.build    |   1 -
> >   5 files changed, 667 deletions(-)
> >   delete mode 100644 include/hw/misc/cbus.h
> >   delete mode 100644 hw/misc/cbus.c
>
>
> > diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
> > index d33d59bee90..a70ceff504b 100644
> > --- a/hw/arm/Kconfig
> > +++ b/hw/arm/Kconfig
> > @@ -142,20 +142,6 @@ config OLIMEX_STM32_H405
> >       depends on TCG && ARM
> >       select STM32F405_SOC
> >
> > -config NSERIES
> > -    bool
> > -    default y
> > -    depends on TCG && ARM
>
> Maybe squash this ...
>
> > -    select OMAP
> > -    select TMP105   # temperature sensor
> > -    select BLIZZARD # LCD/TV controller
> > -    select ONENAND
> > -    select TSC210X  # touchscreen/sensors/audio
> > -    select TSC2005  # touchscreen/sensors/keypad
> > -    select LM832X   # GPIO keyboard chip
> > -    select TWL92230 # energy-management
> > -    select TUSB6010
>
> ... in the previous patch?

I left it til this one because it's only in this patch that
we get rid of the last user of the CONFIG_NSERIES define:

-system_ss.add(when: 'CONFIG_NSERIES', if_true: files('cbus.c'))

-- PMM

Reply via email to