forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
kernel/arch/mips/mti-malta/malta-dtshim.c
....@@ -1,11 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (C) 2015 Imagination Technologies
34 * 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.
95 */
106
117 #include <linux/bug.h>
....@@ -244,7 +240,7 @@
244240 * On systems using the RocIT system controller a GIC may be
245241 * present without a CM. Detect whether that is the case.
246242 */
247
- biu_base = ioremap_nocache(MSC01_BIU_REG_BASE,
243
+ biu_base = ioremap(MSC01_BIU_REG_BASE,
248244 MSC01_BIU_ADDRSPACE_SZ);
249245 sc_cfg = __raw_readl(biu_base + MSC01_SC_CFG_OFS);
250246 if (sc_cfg & MSC01_SC_CFG_GICPRES_MSK) {