^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) // SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) int cache_control(unsigned int command)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) volatile unsigned int *p = (volatile unsigned int *) 0x80000000;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) int i;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) for (i = 0; i < (32 * 1024); i += 32) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) (void)*p;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) p += (32 / sizeof(int));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) }