Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191895
b: refs/heads/master
c: 66b1964
h: refs/heads/master
i:
  191893: 856bf17
  191891: 4559a98
  191887: b9684ff
v: v3
  • Loading branch information
Haojian Zhuang authored and Eric Miao committed May 11, 2010
1 parent 4fbb746 commit 2154468
Show file tree
Hide file tree
Showing 4 changed files with 9 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: e598863690d956ad4e18904bb5b6c63fea1ad255
refs/heads/master: 66b196475031c748a5861390a4fadb915e14ccdc
2 changes: 2 additions & 0 deletions trunk/arch/arm/configs/mmp2_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ CONFIG_ARM_THUMB=y
# CONFIG_CPU_ICACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_DISABLE is not set
# CONFIG_CPU_BPREDICT_DISABLE is not set
CONFIG_OUTER_CACHE=y
CONFIG_CACHE_TAUROS2=y
CONFIG_ARM_L1_CACHE_SHIFT=5
# CONFIG_ARM_ERRATA_411920 is not set
CONFIG_COMMON_CLKDEV=y
Expand Down
5 changes: 5 additions & 0 deletions trunk/arch/arm/mach-mmp/mmp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#include <linux/init.h>
#include <linux/io.h>

#include <asm/hardware/cache-tauros2.h>

#include <mach/addr-map.h>
#include <mach/regs-apbc.h>
#include <mach/regs-apmu.h>
Expand Down Expand Up @@ -99,6 +101,9 @@ static struct clk_lookup mmp2_clkregs[] = {
static int __init mmp2_init(void)
{
if (cpu_is_mmp2()) {
#ifdef CONFIG_CACHE_TAUROS2
tauros2_init();
#endif
mfp_init_base(MFPR_VIRT_BASE);
mfp_init_addr(mmp2_addr_map);
clkdev_add_table(ARRAY_AND_SIZE(mmp2_clkregs));
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ config CACHE_L2X0

config CACHE_TAUROS2
bool "Enable the Tauros2 L2 cache controller"
depends on ARCH_DOVE
depends on (ARCH_DOVE || ARCH_MMP)
default y
select OUTER_CACHE
help
Expand Down

0 comments on commit 2154468

Please sign in to comment.