Re: [PATCH 09/13] ARM: imx: Remove unused IO_ADDRESS() macros
flat view
From: Arnd Bergmann <arnd@arndb.de>
Date: 2020-09-16 21:36:54
On Wed, Sep 16, 2020 at 10:56 PM Fabio Estevam [off-list ref] wrote:
quoted hunk ↗ jump to hunk
The IO_ADDRESS() macros were used to retrieve the peripherals base address for board related code. Now that i.MX is a devicetree-only platforms, all base addresses are retrieved from devicetree and these macros are unused. Remove the unused IO_ADDRESS() macros. Signed-off-by: Fabio Estevam <festevam@gmail.com> --- arch/arm/mach-imx/mx27.h | 1 - arch/arm/mach-imx/mx31.h | 1 - arch/arm/mach-imx/mx35.h | 1 - 3 files changed, 3 deletions(-)diff --git a/arch/arm/mach-imx/mx27.h b/arch/arm/mach-imx/mx27.h index c6f7aae02b67..d6dae9fa8610 100644 --- a/arch/arm/mach-imx/mx27.h +++ b/arch/arm/mach-imx/mx27.h@@ -112,7 +112,6 @@ #define MX27_IRAM_BASE_ADDR 0xffff4c00 /* internal ram */ #define MX27_IO_P2V(x) IMX_IO_P2V(x) -#define MX27_IO_ADDRESS(x) IOMEM(MX27_IO_P2V(x))
As far as I can tell, the MX27_IO_P2V() macro should be removed here as
well if MX27_IO_ADDRESS() gets removed.
What about the other constants in these files? Are there any remaining
references to the MX*_BASE_ADDRESS, MX*_INT_*, and MX*_DMA_REQ_*
constants after the series?
Arnd
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel