blob: a06463937339cee6b2170e9e4d73aa18854fbc51 [file] [log] [blame]
Bin Meng510e3792018-09-26 06:55:21 -07001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
4 */
5
6#include <common.h>
7#include <command.h>
8
9/*
10 * cleanup_before_linux() is called just before we call linux
11 * it prepares the processor for linux
12 *
13 * we disable interrupt and caches.
14 */
15int cleanup_before_linux(void)
16{
17 disable_interrupts();
18
19 /* turn off I/D-cache */
20
21 return 0;
22}
23
24int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
25{
26 printf("reset unsupported yet\n");
27
28 return 0;
29}