.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
---|
1 | 2 | /* |
---|
2 | 3 | * SDK7786 FPGA Support. |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2010 Paul Mundt |
---|
5 | | - * |
---|
6 | | - * This file is subject to the terms and conditions of the GNU General Public |
---|
7 | | - * License. See the file "COPYING" in the main directory of this archive |
---|
8 | | - * for more details. |
---|
9 | 6 | */ |
---|
10 | 7 | #include <linux/init.h> |
---|
11 | 8 | #include <linux/io.h> |
---|
12 | 9 | #include <linux/bcd.h> |
---|
13 | 10 | #include <mach/fpga.h> |
---|
14 | | -#include <asm/sizes.h> |
---|
| 11 | +#include <linux/sizes.h> |
---|
15 | 12 | |
---|
16 | 13 | #define FPGA_REGS_OFFSET 0x03fff800 |
---|
17 | 14 | #define FPGA_REGS_SIZE 0x490 |
---|
.. | .. |
---|
35 | 32 | * is reserved. |
---|
36 | 33 | */ |
---|
37 | 34 | for (area = PA_AREA0; area < PA_AREA7; area += SZ_64M) { |
---|
38 | | - base = ioremap_nocache(area + FPGA_REGS_OFFSET, FPGA_REGS_SIZE); |
---|
| 35 | + base = ioremap(area + FPGA_REGS_OFFSET, FPGA_REGS_SIZE); |
---|
39 | 36 | if (!base) { |
---|
40 | 37 | /* Failed to remap this area, move along. */ |
---|
41 | 38 | continue; |
---|