blob: 0d00e4b7aedfcbe2010545cf2ad9aaef45c79a17 [file] [log] [blame]
Wolfgang Denk74f43042005-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 Zundel792a09e2009-05-13 10:54:10 +02007 * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
Wolfgang Denk74f43042005-09-25 01:48:28 +02008 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02009 * SPDX-License-Identifier: GPL-2.0+
Wolfgang Denk74f43042005-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 Denk74f43042005-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 Denkfe7eb5d2005-09-25 02:00:47 +020031 /* Since the CM has unknown processor we do not support
32 * cache operations
Wolfgang Denk74f43042005-09-25 01:48:28 +020033 */
34
35 return (0);
36}