[PATCH 09/13] ARM: imx: Remove unused IO_ADDRESS() macros
Fabio Estevam
festevam at gmail.com
Wed Sep 16 16:55:18 EDT 2020
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 at 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))
/* fixed interrupt numbers */
#include <asm/irq.h>
diff --git a/arch/arm/mach-imx/mx31.h b/arch/arm/mach-imx/mx31.h
index d9574671ca5c..192499dcc792 100644
--- a/arch/arm/mach-imx/mx31.h
+++ b/arch/arm/mach-imx/mx31.h
@@ -117,7 +117,6 @@
#define MX31_PCMCIA_MEM_BASE_ADDR 0xbc000000
#define MX31_IO_P2V(x) IMX_IO_P2V(x)
-#define MX31_IO_ADDRESS(x) IOMEM(MX31_IO_P2V(x))
/*
* Interrupt numbers
diff --git a/arch/arm/mach-imx/mx35.h b/arch/arm/mach-imx/mx35.h
index 760de6a0af7e..4f0b939c6e03 100644
--- a/arch/arm/mach-imx/mx35.h
+++ b/arch/arm/mach-imx/mx35.h
@@ -116,7 +116,6 @@
#define MX35_PCMCIA_MEM_BASE_ADDR 0xbc000000
#define MX35_IO_P2V(x) IMX_IO_P2V(x)
-#define MX35_IO_ADDRESS(x) IOMEM(MX35_IO_P2V(x))
/*
* Interrupt numbers
--
2.17.1
More information about the linux-arm-kernel
mailing list