hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/mips/ath79/common.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Atheros AR71XX/AR724X/AR913X common routines
34 *
....@@ -6,10 +7,6 @@
67 * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
78 *
89 * Parts of this file are based on Atheros' 2.6.15/2.6.31 BSP
9
- *
10
- * This program is free software; you can redistribute it and/or modify it
11
- * under the terms of the GNU General Public License version 2 as published
12
- * by the Free Software Foundation.
1310 */
1411
1512 #include <linux/kernel.h>
....@@ -44,7 +41,7 @@
4441
4542 void ath79_ddr_ctrl_init(void)
4643 {
47
- ath79_ddr_base = ioremap_nocache(AR71XX_DDR_CTRL_BASE,
44
+ ath79_ddr_base = ioremap(AR71XX_DDR_CTRL_BASE,
4845 AR71XX_DDR_CTRL_SIZE);
4946 if (soc_is_ar913x() || soc_is_ar724x() || soc_is_ar933x()) {
5047 ath79_ddr_wb_flush_base = ath79_ddr_base + 0x7c;