| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Atheros AR71XX/AR724X/AR913X common routines |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 6 | 7 | * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> |
|---|
| 7 | 8 | * |
|---|
| 8 | 9 | * 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. |
|---|
| 13 | 10 | */ |
|---|
| 14 | 11 | |
|---|
| 15 | 12 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 44 | 41 | |
|---|
| 45 | 42 | void ath79_ddr_ctrl_init(void) |
|---|
| 46 | 43 | { |
|---|
| 47 | | - ath79_ddr_base = ioremap_nocache(AR71XX_DDR_CTRL_BASE, |
|---|
| 44 | + ath79_ddr_base = ioremap(AR71XX_DDR_CTRL_BASE, |
|---|
| 48 | 45 | AR71XX_DDR_CTRL_SIZE); |
|---|
| 49 | 46 | if (soc_is_ar913x() || soc_is_ar724x() || soc_is_ar933x()) { |
|---|
| 50 | 47 | ath79_ddr_wb_flush_base = ath79_ddr_base + 0x7c; |
|---|