summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap1/io.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2022-09-29 16:19:44 +0200
committerArnd Bergmann <arnd@arndb.de>2023-01-12 10:53:11 +0100
commit8825acd7cc8a13af7ae6c2c5e5025af38df6c2e4 (patch)
tree899bcca04b249cbd41a24286b5eab4fda65b7223 /arch/arm/mach-omap1/io.c
parent21a3e6eed42367faed4a54332bba1545c67d0fc1 (diff)
ARM: omap1: remove dead code
After the removal of the unused board files, I went through the omap1 code to look for code that no longer has any callers and remove that. In particular, support for the omap7xx/omap8xx family is now completely unused, so I'm only leaving omap15xx/omap16xx/omap59xx. Cc: Aaro Koskinen <aaro.koskinen@iki.fi> Cc: Janusz Krzysztofik <jmkrzyszt@gmail.com> Cc: linux-omap@vger.kernel.org Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-omap1/io.c')
-rw-r--r--arch/arm/mach-omap1/io.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/arch/arm/mach-omap1/io.c b/arch/arm/mach-omap1/io.c
index 0074b011a05a..a08406cb2303 100644
--- a/arch/arm/mach-omap1/io.c
+++ b/arch/arm/mach-omap1/io.c
@@ -22,27 +22,6 @@
* The machine specific code may provide the extra mapping besides the
* default mapping provided here.
*/
-#if defined (CONFIG_ARCH_OMAP730) || defined (CONFIG_ARCH_OMAP850)
-static struct map_desc omap7xx_io_desc[] __initdata = {
- {
- .virtual = OMAP1_IO_VIRT,
- .pfn = __phys_to_pfn(OMAP1_IO_PHYS),
- .length = OMAP1_IO_SIZE,
- .type = MT_DEVICE
- },
- {
- .virtual = OMAP7XX_DSP_BASE,
- .pfn = __phys_to_pfn(OMAP7XX_DSP_START),
- .length = OMAP7XX_DSP_SIZE,
- .type = MT_DEVICE
- }, {
- .virtual = OMAP7XX_DSPREG_BASE,
- .pfn = __phys_to_pfn(OMAP7XX_DSPREG_START),
- .length = OMAP7XX_DSPREG_SIZE,
- .type = MT_DEVICE
- }
-};
-#endif
#ifdef CONFIG_ARCH_OMAP15XX
static struct map_desc omap1510_io_desc[] __initdata = {
@@ -88,13 +67,6 @@ static struct map_desc omap16xx_io_desc[] __initdata = {
};
#endif
-#if defined (CONFIG_ARCH_OMAP730) || defined (CONFIG_ARCH_OMAP850)
-void __init omap7xx_map_io(void)
-{
- iotable_init(omap7xx_io_desc, ARRAY_SIZE(omap7xx_io_desc));
-}
-#endif
-
#ifdef CONFIG_ARCH_OMAP15XX
void __init omap15xx_map_io(void)
{