[U-Boot] [PATCH 0/5] arm: remove leftover code for dm* SoCs
Bartosz Golaszewski
bgolaszewski at baylibre.com
Mon May 20 16:12:42 UTC 2019
pon., 20 maj 2019 o 17:39 Adam Ford <aford173 at gmail.com> napisaĆ(a):
>
> On Mon, Apr 29, 2019 at 11:37 AM Bartosz Golaszewski <brgl at bgdev.pl> wrote:
> >
> > From: Bartosz Golaszewski <bgolaszewski at baylibre.com>
> >
> > Commit 6761946fb716 ("arm: Remove unmaintained davinci boards") removed
> > support for certain DaVinci platforms. We still want to support the
> > da850 chips though and I'm currently working on converting all remaining
> > drivers to using the driver model (please don't remove it yet :)).
> >
> > This series is the first step: let's remove all leftover dead code. This
> > will make things easier when adding support for driver model to NAND and
> > EMAC drivers.
> >
> > Bartosz Golaszewski (5):
> > net: davinci_emac: drop support for unused PHYs
> > arm: davinci: remove dead code for PHYs used by DaVinci DM* boards
> > nand: davinci: remove dead code for dm644x
> > usb: musb_hcd: remove unnecessary ifdefs for dm* SoCs
> > arm: davinci: remove leftover code for dm* SoCs
> >
> > arch/arm/mach-davinci/Makefile | 1 -
> > arch/arm/mach-davinci/cpu.c | 116 -----
> > arch/arm/mach-davinci/dm355.c | 29 --
> > arch/arm/mach-davinci/dm365.c | 19 -
> > arch/arm/mach-davinci/dm365_lowlevel.c | 459 ------------------
> > arch/arm/mach-davinci/dm644x.c | 80 ---
> > arch/arm/mach-davinci/dm646x.c | 25 -
> > arch/arm/mach-davinci/dp83848.c | 127 -----
> > arch/arm/mach-davinci/et1011c.c | 41 --
> > .../mach-davinci/include/mach/davinci_misc.h | 4 +-
> > .../arm/mach-davinci/include/mach/emac_defs.h | 56 ---
> > arch/arm/mach-davinci/include/mach/gpio.h | 14 +-
> > arch/arm/mach-davinci/include/mach/hardware.h | 216 ---------
> > arch/arm/mach-davinci/include/mach/i2c_defs.h | 4 -
> > .../mach-davinci/include/mach/syscfg_defs.h | 49 --
> > arch/arm/mach-davinci/ksz8873.c | 52 --
> > arch/arm/mach-davinci/lxt972.c | 112 -----
> > arch/arm/mach-davinci/misc.c | 5 +-
> > arch/arm/mach-davinci/psc.c | 76 ---
> > arch/arm/mach-davinci/spl.c | 5 -
> > drivers/mtd/nand/raw/davinci_nand.c | 39 --
> > drivers/net/ti/davinci_emac.c | 55 +--
> > drivers/usb/musb/musb_hcd.c | 6 -
> > 23 files changed, 9 insertions(+), 1581 deletions(-)
> > delete mode 100644 arch/arm/mach-davinci/dm355.c
> > delete mode 100644 arch/arm/mach-davinci/dm365.c
> > delete mode 100644 arch/arm/mach-davinci/dm365_lowlevel.c
> > delete mode 100644 arch/arm/mach-davinci/dm644x.c
> > delete mode 100644 arch/arm/mach-davinci/dm646x.c
> > delete mode 100644 arch/arm/mach-davinci/dp83848.c
> > delete mode 100644 arch/arm/mach-davinci/et1011c.c
> > delete mode 100644 arch/arm/mach-davinci/include/mach/syscfg_defs.h
> > delete mode 100644 arch/arm/mach-davinci/ksz8873.c
> > delete mode 100644 arch/arm/mach-davinci/lxt972.c
>
> What about the references to CONFIG_SOC_DM644X inside lowlevel_init.S?
>
> I am not even sure anyone calls this.
> >
> > --
> > 2.21.0
> >
Right, seems like nobody uses it anymore. I'll send a follow-up.
Bart
More information about the U-Boot
mailing list