Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 216883
b: refs/heads/master
c: a777b72
h: refs/heads/master
i:
  216881: 8e33f45
  216879: 5530eda
v: v3
  • Loading branch information
Santosh Shilimkar committed Sep 24, 2010
1 parent 0f602ac commit 6b034b1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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: ed6be0bafc7781634a197ddd85b575ffcd7736b6
refs/heads/master: a777b7277ef9b04481d4ceaac353bb4bd82e2f1e
10 changes: 7 additions & 3 deletions trunk/arch/arm/mach-omap2/omap4-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,14 @@ static int __init omap_l2_cache_init(void)
omap_smc1(0x102, 0x1);

/*
* 32KB way size, 16-way associativity,
* parity disabled
* 16-way associativity, parity disabled
* Way size - 32KB (es1.0)
* Way size - 64KB (es2.0 +)
*/
l2x0_init(l2cache_base, 0x0e050000, 0xc0000fff);
if (omap_rev() == OMAP4430_REV_ES1_0)
l2x0_init(l2cache_base, 0x0e050000, 0xc0000fff);
else
l2x0_init(l2cache_base, 0x0e070000, 0xc0000fff);

return 0;
}
Expand Down

0 comments on commit 6b034b1

Please sign in to comment.