From 738b1985cbd1eec3f0be645c807745b16d378705 Mon Sep 17 00:00:00 2001 From: Lukas Bulwahn Date: Tue, 15 Nov 2022 13:31:02 +0100 Subject: [PATCH 1/2] MAINTAINERS: adjust ARM/INTEL IXP4XX ARM ARCHITECTURE to ixp4xx clean-up Commit c83227a5d05e ("irq/gpio: ixp4xx: Drop boardfile probe path") and commit 155e4306107f ("clocksource/drivers/ixp4xx: Drop boardfile probe path") remove files include/linux/irqchip/irq-ixp4xx.h and include/linux/platform_data/timer-ixp4xx.h, but miss to adjust MAINTAINERS. Hence, ./scripts/get_maintainer.pl --self-test=patterns complains about broken references. Remove file entries for those files in ARM/INTEL IXP4XX ARM ARCHITECTURE. Signed-off-by: Lukas Bulwahn Link: https://lore.kernel.org/r/20221115123102.22732-1-lukas.bulwahn@gmail.com Signed-off-by: Linus Walleij --- MAINTAINERS | 2 -- 1 file changed, 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index cf0f18502372..a83c41e4d6b7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2272,8 +2272,6 @@ F: drivers/clocksource/timer-ixp4xx.c F: drivers/crypto/ixp4xx_crypto.c F: drivers/gpio/gpio-ixp4xx.c F: drivers/irqchip/irq-ixp4xx.c -F: include/linux/irqchip/irq-ixp4xx.h -F: include/linux/platform_data/timer-ixp4xx.h ARM/INTEL KEEMBAY ARCHITECTURE M: Paul J. Murphy From dc6e328a8d28e1c0c6e4f19e90cca17bb8fc126b Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Sun, 20 Nov 2022 23:47:06 +0100 Subject: [PATCH 2/2] ARM: ixp4xx: Remove unused static map The IXP4xx is just using the device tree now, only keep the static UART map if and only if we are debugging. Signed-off-by: Linus Walleij --- arch/arm/mach-ixp4xx/ixp4xx-of.c | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/arch/arm/mach-ixp4xx/ixp4xx-of.c b/arch/arm/mach-ixp4xx/ixp4xx-of.c index f543e2adae0c..9f1557f33e84 100644 --- a/arch/arm/mach-ixp4xx/ixp4xx-of.c +++ b/arch/arm/mach-ixp4xx/ixp4xx-of.c @@ -9,27 +9,8 @@ #include #include -/* - * These are the only fixed phys to virt mappings we ever need - * we put it right after the UART mapping at 0xffc80000-0xffc81fff - */ -#define IXP4XX_EXP_CFG_BASE_PHYS 0xC4000000 -#define IXP4XX_EXP_CFG_BASE_VIRT 0xFEC14000 - -static struct map_desc ixp4xx_of_io_desc[] __initdata = { - /* - * This is needed for runtime system configuration checks, - * such as reading if hardware so-and-so is present. This - * could eventually be converted into a syscon once all boards - * are converted to device tree. - */ - { - .virtual = IXP4XX_EXP_CFG_BASE_VIRT, - .pfn = __phys_to_pfn(IXP4XX_EXP_CFG_BASE_PHYS), - .length = SZ_4K, - .type = MT_DEVICE, - }, #ifdef CONFIG_DEBUG_UART_8250 +static struct map_desc ixp4xx_of_io_desc[] __initdata = { /* This is needed for LL-debug/earlyprintk/debug-macro.S */ { .virtual = CONFIG_DEBUG_UART_VIRT, @@ -37,13 +18,15 @@ static struct map_desc ixp4xx_of_io_desc[] __initdata = { .length = SZ_4K, .type = MT_DEVICE, }, -#endif }; static void __init ixp4xx_of_map_io(void) { iotable_init(ixp4xx_of_io_desc, ARRAY_SIZE(ixp4xx_of_io_desc)); } +#else +#define ixp4xx_of_map_io NULL +#endif /* * We handle 4 different SoC families. These compatible strings are enough