forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/arch/sh/boards/board-sh7785lcr.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * Renesas Technology Corp. R0P7785LC0011RL Support.
34 *
45 * Copyright (C) 2008 Yoshihiro Shimoda
56 * Copyright (C) 2009 Paul Mundt
6
- *
7
- * This file is subject to the terms and conditions of the GNU General Public
8
- * License. See the file "COPYING" in the main directory of this archive
9
- * for more details.
107 */
118 #include <linux/init.h>
129 #include <linux/platform_device.h>
....@@ -344,7 +341,7 @@
344341 pm_power_off = sh7785lcr_power_off;
345342
346343 /* sm501 DRAM configuration */
347
- sm501_reg = ioremap_nocache(SM107_REG_ADDR, SM501_DRAM_CONTROL);
344
+ sm501_reg = ioremap(SM107_REG_ADDR, SM501_DRAM_CONTROL);
348345 if (!sm501_reg) {
349346 printk(KERN_ERR "%s: ioremap error.\n", __func__);
350347 return;