aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-socfpga/socfpga.c
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@opensource.altera.com>2015-03-09 23:10:02 -0400
committerDinh Nguyen <dinguyen@opensource.altera.com>2015-05-11 14:59:53 -0400
commit65ce7a37ec23c9e7878bd77e2f75b1eb9d8926e3 (patch)
tree190253ed28de41c05a66a4ba1520ab017350c6bb /arch/arm/mach-socfpga/socfpga.c
parentde73c162fc2e91e19b7716fc9c0150f759be2567 (diff)
ARM: socfpga: remove the need to map uart_io_desc
All the necessary debug uart mapping is already being done in debug_ll_io_init, there's no need for it here. Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Diffstat (limited to 'arch/arm/mach-socfpga/socfpga.c')
-rw-r--r--arch/arm/mach-socfpga/socfpga.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-socfpga/socfpga.c b/arch/arm/mach-socfpga/socfpga.c
index f5e597c207b9..358f2c712979 100644
--- a/arch/arm/mach-socfpga/socfpga.c
+++ b/arch/arm/mach-socfpga/socfpga.c
@@ -39,13 +39,6 @@ static struct map_desc scu_io_desc __initdata = {
39 .type = MT_DEVICE, 39 .type = MT_DEVICE,
40}; 40};
41 41
42static struct map_desc uart_io_desc __initdata = {
43 .virtual = 0xfec02000,
44 .pfn = __phys_to_pfn(0xffc02000),
45 .length = SZ_8K,
46 .type = MT_DEVICE,
47};
48
49static void __init socfpga_scu_map_io(void) 42static void __init socfpga_scu_map_io(void)
50{ 43{
51 unsigned long base; 44 unsigned long base;
@@ -60,8 +53,6 @@ static void __init socfpga_scu_map_io(void)
60static void __init socfpga_map_io(void) 53static void __init socfpga_map_io(void)
61{ 54{
62 socfpga_scu_map_io(); 55 socfpga_scu_map_io();
63 iotable_init(&uart_io_desc, 1);
64 early_printk("Early printk initialized\n");
65} 56}
66 57
67void __init socfpga_sysmgr_init(void) 58void __init socfpga_sysmgr_init(void)