Arnd Bergmann <arnd@xxxxxxxx> writes: > On Wed, May 13, 2020 at 7:01 PM Robert Jarzmik <robert.jarzmik@xxxxxxx> wrote: >> CONFIG_MACH_EXEDA=y > > CONFIG_MACH_EXEDA should be removed here as well, it refers > to part of em-x270.c > > Similarly, the whole em_x270_defconfig can be removed. Certainly. > Now arch/arm/mach-pxa/include/mach/io.h is unused and > can be removed. Yes. > With MACH_ARMCORE gone, the MTD_NAND_CM_X270 and > PCI_HOST_ITE8152 become impossible to select, and > a part of PCMCIA_PXA2XX (pxa2xx_cm_x2xx_cs.c) becomes > unused. > > FB_MBX can still be selected, but there are no boards defining > the platform data any more, so I'd like to remove that as well. That should be dealt with another time, sorry. > MACH_EXEDA here is also obsolete, and I'd probably want to > update the SND_PXA2XX_SOC_EM_X270 dependencies in the > same patch. Yes. > >> -static struct spi_board_info spi_board_info[] __initdata = { >> - [0] = { >> - .modalias = "rtc-max6902", >> - .max_speed_hz = 1000000, >> - .bus_num = 1, >> - .chip_select = 0, > > Another last reference, so we can remove that the corresponding driver. Another patch serie for this as well. > Same here, there is still one more user left (MACH_ZIPIT2), though > at some point that might get removed if we decide to drop the handhelds > with 32MB RAM or less. That is probably something to be left for > another time, but I see that pxa_defconfig produces a 9.5MB kernel > image, so this is getting rather tight, and 32MB wasn't much when this > got added in 2010. Yeah, but no PXA user would ever use the pxa_defconfig kernel :) A typical kernel for a PXA board is right now around 4MB, which is very tight for 32MB platforms, and just enough for 64MB ones. Cheers. -- Robert ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/