summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0030-ARM-SAMSUNG-Fix-for-S3C2412-EBI-memory-mapping.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0030-ARM-SAMSUNG-Fix-for-S3C2412-EBI-memory-mapping.patch')
-rw-r--r--recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0030-ARM-SAMSUNG-Fix-for-S3C2412-EBI-memory-mapping.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0030-ARM-SAMSUNG-Fix-for-S3C2412-EBI-memory-mapping.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0030-ARM-SAMSUNG-Fix-for-S3C2412-EBI-memory-mapping.patch
new file mode 100644
index 00000000..4a91186b
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0030-ARM-SAMSUNG-Fix-for-S3C2412-EBI-memory-mapping.patch
@@ -0,0 +1,36 @@
1From 4885fac40cf4f8adf4c6832d90b3b60c4ac44f19 Mon Sep 17 00:00:00 2001
2From: Jose Miguel Goncalves <jose.goncalves@inov.pt>
3Date: Sat, 12 May 2012 06:11:49 +0900
4Subject: [PATCH 30/46] ARM: SAMSUNG: Fix for S3C2412 EBI memory mapping
5
6commit 3dca938656c7b0ff6b0717a5dde0f5f45e592be5 upstream.
7
8While upgrading the kernel on a S3C2412 based board I've noted
9that it was impossible to boot the board with a 2.6.32 or upper
10kernel. I've tracked down the problem to the EBI virtual memory
11mapping that is in conflict with the IO mapping definition in
12arch/arm/mach-s3c24xx/s3c2412.c.
13
14Signed-off-by: Jose Miguel Goncalves <jose.goncalves@inov.pt>
15Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
16Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
17---
18 arch/arm/plat-samsung/include/plat/map-s3c.h | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/arch/arm/plat-samsung/include/plat/map-s3c.h b/arch/arm/plat-samsung/include/plat/map-s3c.h
22index 7d04875..c0c70a8 100644
23--- a/arch/arm/plat-samsung/include/plat/map-s3c.h
24+++ b/arch/arm/plat-samsung/include/plat/map-s3c.h
25@@ -22,7 +22,7 @@
26 #define S3C24XX_VA_WATCHDOG S3C_VA_WATCHDOG
27
28 #define S3C2412_VA_SSMC S3C_ADDR_CPU(0x00000000)
29-#define S3C2412_VA_EBI S3C_ADDR_CPU(0x00010000)
30+#define S3C2412_VA_EBI S3C_ADDR_CPU(0x00100000)
31
32 #define S3C2410_PA_UART (0x50000000)
33 #define S3C24XX_PA_UART S3C2410_PA_UART
34--
351.7.10
36