Commit 810f613c authored by Andy Green's avatar Andy Green Committed by Ben Dooks

ARM: S3C64XX: Add virtual mapping for S3C64XX SROM area

This adds the physical address of the SROM unit, and
applies a virtual mapping for it to the S3C_VA_MEM
slot.
Signed-off-by: default avatarAndy Green <andy@warmcat.com>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent f01fdac0
...@@ -50,6 +50,8 @@ ...@@ -50,6 +50,8 @@
#define S3C_VA_UART2 S3C_VA_UARTx(2) #define S3C_VA_UART2 S3C_VA_UARTx(2)
#define S3C_VA_UART3 S3C_VA_UARTx(3) #define S3C_VA_UART3 S3C_VA_UARTx(3)
#define S3C64XX_PA_SROM (0x70000000)
#define S3C64XX_PA_NAND (0x70200000) #define S3C64XX_PA_NAND (0x70200000)
#define S3C64XX_PA_FB (0x77100000) #define S3C64XX_PA_FB (0x77100000)
#define S3C64XX_PA_USB_HSOTG (0x7C000000) #define S3C64XX_PA_USB_HSOTG (0x7C000000)
......
...@@ -72,6 +72,11 @@ static struct map_desc s3c_iodesc[] __initdata = { ...@@ -72,6 +72,11 @@ static struct map_desc s3c_iodesc[] __initdata = {
.pfn = __phys_to_pfn(S3C64XX_PA_SYSCON), .pfn = __phys_to_pfn(S3C64XX_PA_SYSCON),
.length = SZ_4K, .length = SZ_4K,
.type = MT_DEVICE, .type = MT_DEVICE,
}, {
.virtual = (unsigned long)S3C_VA_MEM,
.pfn = __phys_to_pfn(S3C64XX_PA_SROM),
.length = SZ_4K,
.type = MT_DEVICE,
}, { }, {
.virtual = (unsigned long)(S3C_VA_UART + UART_OFFS), .virtual = (unsigned long)(S3C_VA_UART + UART_OFFS),
.pfn = __phys_to_pfn(S3C_PA_UART), .pfn = __phys_to_pfn(S3C_PA_UART),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment