Module Name: src
Committed By: nonaka
Date: Tue Jan 6 01:23:24 UTC 2015
Modified Files:
src/sys/arch/evbppc/mpc85xx: machdep.c
Log Message:
No need to call e500_tlb1_sync() at e500_cpu_hatch(). It has already
been called at e500_spinup_trampoline().
Pointed by mrg@.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/evbppc/mpc85xx/machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbppc/mpc85xx/machdep.c
diff -u src/sys/arch/evbppc/mpc85xx/machdep.c:1.38 src/sys/arch/evbppc/mpc85xx/machdep.c:1.39
--- src/sys/arch/evbppc/mpc85xx/machdep.c:1.38 Mon Jan 5 08:40:56 2015
+++ src/sys/arch/evbppc/mpc85xx/machdep.c Tue Jan 6 01:23:24 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.38 2015/01/05 08:40:56 nonaka Exp $ */
+/* $NetBSD: machdep.c,v 1.39 2015/01/06 01:23:24 nonaka Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -997,8 +997,7 @@ e500_cpu_hatch(struct cpu_info *ci)
*/
cpu_write_4(OPENPIC_BASE + OPENPIC_CTPR, 15); /* IPL_HIGH */
- /* Initialize TLB */
- e500_tlb1_sync();
+ /* Set the MAS4 defaults */
mtspr(SPR_MAS4, MAS4_TSIZED_4KB | MAS4_MD);
tlb_invalidate_all();