summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-10-02 09:08:10 +0000
committerKoen Kooi <koen@openembedded.org>2008-10-02 09:08:10 +0000
commite55d046fe8273d66a62ed55d1d971df1a2d023b6 (patch)
treeaa71ee8bf08a46a3b6c1c808f62160eff1888853
parentb56420b79858b58d42c24d78a06604ca66e7beb1 (diff)
linux omap git: add patch to increase VMALLOC to 256MB
-rw-r--r--packages/linux/linux-omap/mru-256MB.diff24
-rw-r--r--packages/linux/linux-omap_git.bb3
2 files changed, 26 insertions, 1 deletions
diff --git a/packages/linux/linux-omap/mru-256MB.diff b/packages/linux/linux-omap/mru-256MB.diff
new file mode 100644
index 0000000000..0492ca2d8f
--- /dev/null
+++ b/packages/linux/linux-omap/mru-256MB.diff
@@ -0,0 +1,24 @@
+From: Mans Rullgard <mans@mansr.com>
+Date: Thu, 2 Oct 2008 00:05:33 +0000 (+0100)
+Subject: OMAP: Increase VMALLOC_END to allow 256MB RAM
+X-Git-Url: http://git.mansr.com/?p=linux-omap;a=commitdiff_plain;h=355a0ce968e4a7b0c8d8203f4517296e932e373d
+
+OMAP: Increase VMALLOC_END to allow 256MB RAM
+
+This increases VMALLOC_END to 0x18000000, making room for 256MB
+RAM with the default 128MB vmalloc region.
+
+Signed-off-by: Mans Rullgard <mans@mansr.com>
+---
+
+diff --git a/arch/arm/plat-omap/include/mach/vmalloc.h b/arch/arm/plat-omap/include/mach/vmalloc.h
+index d8515cb..b97dfaf 100644
+--- a/arch/arm/plat-omap/include/mach/vmalloc.h
++++ b/arch/arm/plat-omap/include/mach/vmalloc.h
+@@ -17,5 +17,5 @@
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+-#define VMALLOC_END (PAGE_OFFSET + 0x17000000)
++#define VMALLOC_END (PAGE_OFFSET + 0x18000000)
+
diff --git a/packages/linux/linux-omap_git.bb b/packages/linux/linux-omap_git.bb
index 3adc9366ba..b00572771c 100644
--- a/packages/linux/linux-omap_git.bb
+++ b/packages/linux/linux-omap_git.bb
@@ -9,7 +9,7 @@ COMPATIBLE_MACHINE = "omap5912osk|omap1710h3|omap2430sdp|omap2420h4|beagleboard|
SRCREV = "e1c49d7d22af768188e2a54c167ed79919361e55"
PV = "2.6.26+2.6.27-rc7+${PR}+git${SRCREV}"
-PR = "r10"
+PR = "r11"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git;protocol=git \
file://defconfig"
@@ -32,6 +32,7 @@ SRC_URI_append = " \
file://mru-enable-overlay-optimalization.diff;patch=1 \
file://musb-fix-ISO-in-unlink.diff;patch=1 \
file://musb-fix-multiple-bulk-transfers.diff;patch=1 \
+ file://mru-256MB.diff;patch=1 \
"