Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344197
b: refs/heads/master
c: ef21b49
h: refs/heads/master
i:
  344195: 62d3c41
v: v3
  • Loading branch information
Pavel Machek authored and Olof Johansson committed Nov 5, 2012
1 parent 702e4ad commit bbb9a98
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ad208d03a5a32957a419eb1a473aa96ff4da45ca
refs/heads/master: ef21b491bfe0ddf2b61f1804271b0d2cc58e19f2
9 changes: 9 additions & 0 deletions trunk/arch/arm/mach-socfpga/socfpga.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ static struct map_desc scu_io_desc __initdata = {
.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)
{
unsigned long base;
Expand All @@ -51,6 +58,8 @@ static void __init socfpga_scu_map_io(void)
static void __init socfpga_map_io(void)
{
socfpga_scu_map_io();
iotable_init(&uart_io_desc, 1);
early_printk("Early printk initialized\n");
}

const static struct of_device_id irq_match[] = {
Expand Down

0 comments on commit bbb9a98

Please sign in to comment.