1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2017 Andes Technology Corporation
4 * Rick Chen, Andes Technology Corporation <rick@andestech.com>
7 /* CPU specific code */
11 * cleanup_before_linux() is called just before we call linux
12 * it prepares the processor for linux
14 * we disable interrupt and caches.
16 int cleanup_before_linux(void)
20 /* turn off I/D-cache */