Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208762
b: refs/heads/master
c: 88baf20
h: refs/heads/master
v: v3
  • Loading branch information
Changhwan Youn authored and Kukjin Kim committed Aug 5, 2010
1 parent d92eeeb commit 7ac9a12
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8b526ae4ddd7a62397d99856079b59eda5d09360
refs/heads/master: 88baf2096c1c625c14831bc3438fd1e69bf1cef5
2 changes: 1 addition & 1 deletion trunk/arch/arm/plat-s5p/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ static struct map_desc s5p_iodesc[] __initdata = {
}, {
.virtual = (unsigned long)S3C_VA_UART,
.pfn = __phys_to_pfn(S3C_PA_UART),
.length = SZ_4K,
.length = SZ_512K,
.type = MT_DEVICE,
}, {
.virtual = (unsigned long)VA_VIC0,
Expand Down
11 changes: 7 additions & 4 deletions trunk/arch/arm/plat-s5p/include/plat/map-s5p.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@
#define S5P_VA_SYSTIMER S3C_ADDR(0x01200000)
#define S5P_VA_SROMC S3C_ADDR(0x01100000)

#define S5P_VA_UART0 (S3C_VA_UART + 0x0)
#define S5P_VA_UART1 (S3C_VA_UART + 0x400)
#define S5P_VA_UART2 (S3C_VA_UART + 0x800)
#define S5P_VA_UART3 (S3C_VA_UART + 0xC00)
#define S5P_VA_UART(x) (S3C_VA_UART + ((x) * S3C_UART_OFFSET))
#define S5P_VA_UART0 S5P_VA_UART(0)
#define S5P_VA_UART1 S5P_VA_UART(1)
#define S5P_VA_UART2 S5P_VA_UART(2)
#define S5P_VA_UART3 S5P_VA_UART(3)

#ifndef S3C_UART_OFFSET
#define S3C_UART_OFFSET (0x400)
#endif

#define VA_VIC(x) (S3C_VA_IRQ + ((x) * 0x10000))
#define VA_VIC0 VA_VIC(0)
Expand Down

0 comments on commit 7ac9a12

Please sign in to comment.