summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/setup.c
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2015-01-27 15:51:34 +0100
committerNicolas Ferre <nicolas.ferre@atmel.com>2015-02-02 11:01:27 +0100
commit6bd3e3f491062f075c689345763b6172d8438007 (patch)
treee880a2f5663f037738940f73d737d6fee8d34fa7 /arch/arm/mach-at91/setup.c
parentARM: at91: merge all SOC_AT91SAM9xxx (diff)
downloadlinux-6bd3e3f491062f075c689345763b6172d8438007.tar.xz
linux-6bd3e3f491062f075c689345763b6172d8438007.zip
ARM: at91: move alternative initial mapping to board-dt-sama5.c
For sama5d4, remove an indirection and the remaining need for at91_boot_soc structure. This will allow further cleanup. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/setup.c')
-rw-r--r--arch/arm/mach-at91/setup.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c
index 41abd1708496..af6086b69bb1 100644
--- a/arch/arm/mach-at91/setup.c
+++ b/arch/arm/mach-at91/setup.c
@@ -327,12 +327,6 @@ void __init at91_alt_map_io(void)
if (at91_soc_initdata.subtype != AT91_SOC_SUBTYPE_NONE)
pr_info("AT91: Detected soc subtype: %s\n",
at91_get_soc_subtype(&at91_soc_initdata));
-
- if (!at91_soc_is_enabled())
- panic("AT91: Soc not enabled");
-
- if (at91_boot_soc.map_io)
- at91_boot_soc.map_io();
}
void __iomem *at91_matrix_base;