| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2015 Imagination Technologies |
|---|
| 3 | 4 | * Author: Paul Burton <paul.burton@mips.com> |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 6 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 7 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 8 | | - * option) any later version. |
|---|
| 9 | 5 | */ |
|---|
| 10 | 6 | |
|---|
| 11 | 7 | #include <linux/bug.h> |
|---|
| .. | .. |
|---|
| 244 | 240 | * On systems using the RocIT system controller a GIC may be |
|---|
| 245 | 241 | * present without a CM. Detect whether that is the case. |
|---|
| 246 | 242 | */ |
|---|
| 247 | | - biu_base = ioremap_nocache(MSC01_BIU_REG_BASE, |
|---|
| 243 | + biu_base = ioremap(MSC01_BIU_REG_BASE, |
|---|
| 248 | 244 | MSC01_BIU_ADDRSPACE_SZ); |
|---|
| 249 | 245 | sc_cfg = __raw_readl(biu_base + MSC01_SC_CFG_OFS); |
|---|
| 250 | 246 | if (sc_cfg & MSC01_SC_CFG_GICPRES_MSK) { |
|---|