提交 65ce7a37 编写于 作者: D Dinh Nguyen

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: NDinh Nguyen <dinguyen@opensource.altera.com>
上级 de73c162
...@@ -39,13 +39,6 @@ static struct map_desc scu_io_desc __initdata = { ...@@ -39,13 +39,6 @@ static struct map_desc scu_io_desc __initdata = {
.type = MT_DEVICE, .type = MT_DEVICE,
}; };
static struct map_desc uart_io_desc __initdata = {
.virtual = 0xfec02000,
.pfn = __phys_to_pfn(0xffc02000),
.length = SZ_8K,
.type = MT_DEVICE,
};
static void __init socfpga_scu_map_io(void) static void __init socfpga_scu_map_io(void)
{ {
unsigned long base; unsigned long base;
...@@ -60,8 +53,6 @@ static void __init socfpga_scu_map_io(void) ...@@ -60,8 +53,6 @@ static void __init socfpga_scu_map_io(void)
static void __init socfpga_map_io(void) static void __init socfpga_map_io(void)
{ {
socfpga_scu_map_io(); socfpga_scu_map_io();
iotable_init(&uart_io_desc, 1);
early_printk("Early printk initialized\n");
} }
void __init socfpga_sysmgr_init(void) void __init socfpga_sysmgr_init(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册