.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Support for the Tundra TSI148 VME-PCI Bridge Chip |
---|
3 | 4 | * |
---|
.. | .. |
---|
6 | 7 | * |
---|
7 | 8 | * Based on work by Tom Armistead and Ajit Prem |
---|
8 | 9 | * Copyright 2004 Motorola Inc. |
---|
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 as published by the |
---|
12 | | - * Free Software Foundation; either version 2 of the License, or (at your |
---|
13 | | - * option) any later version. |
---|
14 | 10 | */ |
---|
15 | 11 | |
---|
16 | 12 | #include <linux/module.h> |
---|
.. | .. |
---|
774 | 770 | goto err_resource; |
---|
775 | 771 | } |
---|
776 | 772 | |
---|
777 | | - image->kern_base = ioremap_nocache( |
---|
| 773 | + image->kern_base = ioremap( |
---|
778 | 774 | image->bus_resource.start, size); |
---|
779 | 775 | if (!image->kern_base) { |
---|
780 | 776 | dev_err(tsi148_bridge->parent, "Failed to remap resource\n"); |
---|
.. | .. |
---|
2321 | 2317 | } |
---|
2322 | 2318 | |
---|
2323 | 2319 | /* map registers in BAR 0 */ |
---|
2324 | | - tsi148_device->base = ioremap_nocache(pci_resource_start(pdev, 0), |
---|
| 2320 | + tsi148_device->base = ioremap(pci_resource_start(pdev, 0), |
---|
2325 | 2321 | 4096); |
---|
2326 | 2322 | if (!tsi148_device->base) { |
---|
2327 | 2323 | dev_err(&pdev->dev, "Unable to remap CRG region\n"); |
---|