diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/linux/linux-wrt-2.4.30/029-arch_mips_mm_c-r4k_c | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/linux/linux-wrt-2.4.30/029-arch_mips_mm_c-r4k_c')
-rw-r--r-- | packages/linux/linux-wrt-2.4.30/029-arch_mips_mm_c-r4k_c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/packages/linux/linux-wrt-2.4.30/029-arch_mips_mm_c-r4k_c b/packages/linux/linux-wrt-2.4.30/029-arch_mips_mm_c-r4k_c deleted file mode 100644 index 9ec2862c4d..0000000000 --- a/packages/linux/linux-wrt-2.4.30/029-arch_mips_mm_c-r4k_c +++ /dev/null @@ -1,37 +0,0 @@ ---- linux-mips-cvs/arch/mips/mm/c-r4k.c 2004-11-03 17:43:07.000000000 +0100 -+++ linux-cache/arch/mips/mm/c-r4k.c 2005-03-06 23:39:53.000000000 +0100 -@@ -1031,9 +1031,34 @@ - c->options |= MIPS_CPU_SUBSET_CACHES; - } - -+#if defined(CONFIG_BCM4310) -+static void __init _change_cachability(u32 cm) -+{ -+ struct cpuinfo_mips *c = ¤t_cpu_data; -+ -+ change_c0_config(CONF_CM_CMASK, cm); -+ if ((c->processor_id & (PRID_COMP_MASK | PRID_IMP_MASK)) == -+ (PRID_COMP_BROADCOM | PRID_IMP_BCM3302)) { -+ cm = read_c0_diag(); -+ /* Enable icache */ -+ cm |= (1 << 31); -+ /* Enable dcache */ -+ cm |= (1 << 30); -+ write_c0_diag(cm); -+ } -+} -+ -+static void (*change_cachability)(u32); -+#endif -+ - static inline void coherency_setup(void) - { -+#if defined(CONFIG_BCM4310) -+ change_cachability = (void (*)(u32)) KSEG1ADDR((unsigned long)(_change_cachability)); -+ change_cachability(CONF_CM_DEFAULT); -+#else - change_c0_config(CONF_CM_CMASK, CONF_CM_DEFAULT); -+#endif - - /* - * c0_status.cu=0 specifies that updates by the sc instruction use |