]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/arm_intcm/cpu.c
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / arm / cpu / arm_intcm / cpu.c
1 /*
2  * (C) Copyright 2002
3  * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
4  * Marius Groeger <mgroeger@sysgo.de>
5  *
6  * (C) Copyright 2002
7  * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
8  *
9  * SPDX-License-Identifier:     GPL-2.0+
10  */
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
20 int 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
31         /* Since the CM has unknown processor we do not support
32          * cache operations
33          */
34
35         return (0);
36 }