blob: 9a88bb97c73ac67f91071038f11db0431d950083 [file] [log] [blame]
Aaron Williams0dc4ab92020-06-30 12:08:56 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2020 Marvell International Ltd.
4 */
5
6#include <cpu_func.h>
7
8/*
9 * The Octeon platform is cache coherent and cache flushes and invalidates
10 * are not needed. Define some platform specific empty flush_foo()
11 * functions here to overwrite the _weak common function as a no-op.
12 * This effectively disables all cache operations.
13 */
14void flush_dcache_range(ulong start_addr, ulong stop)
15{
16}
17
18void flush_cache(ulong start_addr, ulong size)
19{
20}
21
22void invalidate_dcache_range(ulong start_addr, ulong stop)
23{
24}