.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /****************************************************************************/ |
---|
2 | 3 | |
---|
3 | 4 | /* |
---|
.. | .. |
---|
175 | 176 | #endif |
---|
176 | 177 | int rc = 0; |
---|
177 | 178 | |
---|
178 | | - nettel_mmcrp = (void *) ioremap_nocache(0xfffef000, 4096); |
---|
| 179 | + nettel_mmcrp = (void *) ioremap(0xfffef000, 4096); |
---|
179 | 180 | if (nettel_mmcrp == NULL) { |
---|
180 | 181 | printk("SNAPGEAR: failed to disable MMCR cache??\n"); |
---|
181 | 182 | return(-EIO); |
---|
.. | .. |
---|
216 | 217 | __asm__ ("wbinvd"); |
---|
217 | 218 | |
---|
218 | 219 | nettel_amd_map.phys = amdaddr; |
---|
219 | | - nettel_amd_map.virt = ioremap_nocache(amdaddr, maxsize); |
---|
| 220 | + nettel_amd_map.virt = ioremap(amdaddr, maxsize); |
---|
220 | 221 | if (!nettel_amd_map.virt) { |
---|
221 | 222 | printk("SNAPGEAR: failed to ioremap() BOOTCS\n"); |
---|
222 | 223 | iounmap(nettel_mmcrp); |
---|
.. | .. |
---|
302 | 303 | /* Probe for the size of the first Intel flash */ |
---|
303 | 304 | nettel_intel_map.size = maxsize; |
---|
304 | 305 | nettel_intel_map.phys = intel0addr; |
---|
305 | | - nettel_intel_map.virt = ioremap_nocache(intel0addr, maxsize); |
---|
| 306 | + nettel_intel_map.virt = ioremap(intel0addr, maxsize); |
---|
306 | 307 | if (!nettel_intel_map.virt) { |
---|
307 | 308 | printk("SNAPGEAR: failed to ioremap() ROMCS1\n"); |
---|
308 | 309 | rc = -EIO; |
---|
.. | .. |
---|
336 | 337 | iounmap(nettel_intel_map.virt); |
---|
337 | 338 | |
---|
338 | 339 | nettel_intel_map.size = maxsize; |
---|
339 | | - nettel_intel_map.virt = ioremap_nocache(intel0addr, maxsize); |
---|
| 340 | + nettel_intel_map.virt = ioremap(intel0addr, maxsize); |
---|
340 | 341 | if (!nettel_intel_map.virt) { |
---|
341 | 342 | printk("SNAPGEAR: failed to ioremap() ROMCS1/2\n"); |
---|
342 | 343 | rc = -EIO; |
---|