Skip to content

Commit 65ce7a3

Browse files
author
Dinh Nguyen
committed
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 <[email protected]>
1 parent de73c16 commit 65ce7a3

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

arch/arm/mach-socfpga/socfpga.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,6 @@ static struct map_desc scu_io_desc __initdata = {
3939
.type = MT_DEVICE,
4040
};
4141

42-
static 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-
4942
static void __init socfpga_scu_map_io(void)
5043
{
5144
unsigned long base;
@@ -60,8 +53,6 @@ static void __init socfpga_scu_map_io(void)
6053
static void __init socfpga_map_io(void)
6154
{
6255
socfpga_scu_map_io();
63-
iotable_init(&uart_io_desc, 1);
64-
early_printk("Early printk initialized\n");
6556
}
6657

6758
void __init socfpga_sysmgr_init(void)

0 commit comments

Comments
 (0)