forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
kernel/drivers/mtd/maps/ck804xrom.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * ck804xrom.c
34 *
....@@ -190,7 +191,7 @@
190191 /* FIXME handle registers 0x80 - 0x8C the bios region locks */
191192
192193 /* For write accesses caches are useless */
193
- window->virt = ioremap_nocache(window->phys, window->size);
194
+ window->virt = ioremap(window->phys, window->size);
194195 if (!window->virt) {
195196 printk(KERN_ERR MOD_NAME ": ioremap(%08lx, %08lx) failed\n",
196197 window->phys, window->size);