| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * This file contains low level CPU setup functions. |
|---|
| 3 | 4 | * Kumar Gala <galak@kernel.crashing.org> |
|---|
| .. | .. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Based on cpu_setup_6xx code by |
|---|
| 7 | 8 | * 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 | | - * |
|---|
| 14 | 9 | */ |
|---|
| 15 | 10 | |
|---|
| 16 | 11 | #include <asm/page.h> |
|---|
| 17 | 12 | #include <asm/processor.h> |
|---|
| 18 | 13 | #include <asm/cputable.h> |
|---|
| 19 | 14 | #include <asm/ppc_asm.h> |
|---|
| 20 | | -#include <asm/mmu-book3e.h> |
|---|
| 15 | +#include <asm/nohash/mmu-book3e.h> |
|---|
| 21 | 16 | #include <asm/asm-offsets.h> |
|---|
| 22 | 17 | #include <asm/mpc85xx.h> |
|---|
| 23 | 18 | |
|---|
| .. | .. |
|---|
| 236 | 231 | blr |
|---|
| 237 | 232 | #endif |
|---|
| 238 | 233 | |
|---|
| 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 */ |
|---|
| 240 | 235 | _GLOBAL(flush_dcache_L1) |
|---|
| 241 | 236 | mfmsr r10 |
|---|
| 242 | 237 | wrteei 0 |
|---|