1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
9 * cleanup_before_linux() is called just before we call linux
10 * it prepares the processor for linux
12 * we disable interrupt and caches.
14 int cleanup_before_linux(void)