diff mbox

[1/2] Revert "OMAP3: SRAM size fix for HS/EMU devices"

Message ID 1245283206-6568-1-git-send-email-khilman@deeprootsystems.com (mailing list archive)
State Accepted
Commit 0c851268ad95c336dd07afe669c076bc725972e9
Headers show

Commit Message

Kevin Hilman June 18, 2009, midnight UTC
This reverts commit bea1418bd09e30961e36f96f97979a3603f1da9b.
---
 arch/arm/plat-omap/sram.c |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)
 mode change 100755 => 100644 arch/arm/plat-omap/sram.c

Comments

Tony Lindgren June 18, 2009, 7:56 a.m. UTC | #1
This patch has been applied to the linux-omap
by youw fwiendly patch wobot.

Branch in linux-omap: master

Initial commit ID (Likely to change): 0c851268ad95c336dd07afe669c076bc725972e9

PatchWorks
http://patchwork.kernel.org/patch/31019/

Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=0c851268ad95c336dd07afe669c076bc725972e9


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c
old mode 100755
new mode 100644
index f40bd2d..65006df
--- a/arch/arm/plat-omap/sram.c
+++ b/arch/arm/plat-omap/sram.c
@@ -131,15 +131,9 @@  void __init omap_detect_sram(void)
 	if (cpu_class_is_omap2()) {
 		if (is_sram_locked()) {
 			if (cpu_is_omap34xx()) {
-				if (omap_type() == OMAP2_DEVICE_TYPE_GP) {
-					omap_sram_base = OMAP3_SRAM_PUB_VA;
-					omap_sram_start = OMAP3_SRAM_PUB_PA;
-					omap_sram_size = 0x8000; /* 32K */
-				} else {
-					omap_sram_base = OMAP3_SRAM_PUB_VA;
-					omap_sram_start = OMAP3_SRAM_PUB_PA;
-					omap_sram_size = 0x7000; /* 28K */
-				}
+				omap_sram_base = OMAP3_SRAM_PUB_VA;
+				omap_sram_start = OMAP3_SRAM_PUB_PA;
+				omap_sram_size = 0x8000; /* 32K */
 			} else {
 				omap_sram_base = OMAP2_SRAM_PUB_VA;
 				omap_sram_start = OMAP2_SRAM_PUB_PA;