forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/arch/powerpc/kernel/cpu_setup_fsl_booke.S
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * This file contains low level CPU setup functions.
34 * Kumar Gala <galak@kernel.crashing.org>
....@@ -5,19 +6,13 @@
56 *
67 * Based on cpu_setup_6xx code by
78 * Benjamin Herrenschmidt <benh@kernel.crashing.org>
8
- *
9
- * This program is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU General Public License
11
- * as published by the Free Software Foundation; either version
12
- * 2 of the License, or (at your option) any later version.
13
- *
149 */
1510
1611 #include <asm/page.h>
1712 #include <asm/processor.h>
1813 #include <asm/cputable.h>
1914 #include <asm/ppc_asm.h>
20
-#include <asm/mmu-book3e.h>
15
+#include <asm/nohash/mmu-book3e.h>
2116 #include <asm/asm-offsets.h>
2217 #include <asm/mpc85xx.h>
2318
....@@ -236,7 +231,7 @@
236231 blr
237232 #endif
238233
239
-/* flush L1 date cache, it can apply to e500v2, e500mc and e5500 */
234
+/* flush L1 data cache, it can apply to e500v2, e500mc and e5500 */
240235 _GLOBAL(flush_dcache_L1)
241236 mfmsr r10
242237 wrteei 0