Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154545
b: refs/heads/master
c: 5b0acc5
h: refs/heads/master
i:
  154543: e55a05e
v: v3
  • Loading branch information
Tero Kristo authored and Tony Lindgren committed Jun 23, 2009
1 parent a621991 commit 469e4e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 8e25ad964aac0bf6b30dd013303750089f819679
refs/heads/master: 5b0acc59d1bc5c310dfd6976555664f9dcf4dacd
7 changes: 6 additions & 1 deletion trunk/arch/arm/plat-omap/sram.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,12 @@ void __init omap_detect_sram(void)
if (cpu_is_omap34xx()) {
omap_sram_base = OMAP3_SRAM_PUB_VA;
omap_sram_start = OMAP3_SRAM_PUB_PA;
omap_sram_size = 0x8000; /* 32K */
if ((omap_type() == OMAP2_DEVICE_TYPE_EMU) ||
(omap_type() == OMAP2_DEVICE_TYPE_SEC)) {
omap_sram_size = 0x7000; /* 28K */
} else {
omap_sram_size = 0x8000; /* 32K */
}
} else {
omap_sram_base = OMAP2_SRAM_PUB_VA;
omap_sram_start = OMAP2_SRAM_PUB_PA;
Expand Down

0 comments on commit 469e4e6

Please sign in to comment.