blob: 0d00e4b7aedfcbe2010545cf2ad9aaef45c79a17 [file] [log] [blame]
Wolfgang Denkadf20a12005-09-25 01:48:28 +02001/*
2 * (C) Copyright 2002
3 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
4 * Marius Groeger <mgroeger@sysgo.de>
5 *
6 * (C) Copyright 2002
Detlev Zundelf1b3f2b2009-05-13 10:54:10 +02007 * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
Wolfgang Denkadf20a12005-09-25 01:48:28 +02008 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02009 * SPDX-License-Identifier: GPL-2.0+
Wolfgang Denkadf20a12005-09-25 01:48:28 +020010 */
11
12/*
13 * CPU specific code for an unknown cpu
14 * - hence fairly empty......
15 */
16
17#include <common.h>
18#include <command.h>
19
Wolfgang Denkadf20a12005-09-25 01:48:28 +020020int cleanup_before_linux (void)
21{
22 /*
23 * this function is called just before we call linux
24 * it prepares the processor for linux
25 *
26 * we turn off caches etc ...
27 */
28
29 disable_interrupts ();
30
Wolfgang Denkc856ccc2005-09-25 02:00:47 +020031 /* Since the CM has unknown processor we do not support
32 * cache operations
Wolfgang Denkadf20a12005-09-25 01:48:28 +020033 */
34
35 return (0);
36}