diff options
Diffstat (limited to 'arch/powerpc/kernel/cpu_setup_fsl_booke.S')
-rw-r--r-- | arch/powerpc/kernel/cpu_setup_fsl_booke.S | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cpu_setup_fsl_booke.S b/arch/powerpc/kernel/cpu_setup_fsl_booke.S new file mode 100644 index 00000000000..eb4b9adcedb --- /dev/null +++ b/arch/powerpc/kernel/cpu_setup_fsl_booke.S | |||
@@ -0,0 +1,31 @@ | |||
1 | /* | ||
2 | * This file contains low level CPU setup functions. | ||
3 | * Kumar Gala <galak@kernel.crashing.org> | ||
4 | * Copyright 2009 Freescale Semiconductor, Inc. | ||
5 | * | ||
6 | * Based on cpu_setup_6xx code by | ||
7 | * Benjamin Herrenschmidt <benh@kernel.crashing.org> | ||
8 | * | ||
9 | * This program is free software; you can redistribute it and/or | ||
10 | * modify it under the terms of the GNU General Public License | ||
11 | * as published by the Free Software Foundation; either version | ||
12 | * 2 of the License, or (at your option) any later version. | ||
13 | * | ||
14 | */ | ||
15 | |||
16 | #include <asm/processor.h> | ||
17 | #include <asm/cputable.h> | ||
18 | #include <asm/ppc_asm.h> | ||
19 | |||
20 | _GLOBAL(__setup_cpu_e200) | ||
21 | /* enable dedicated debug exception handling resources (Debug APU) */ | ||
22 | mfspr r3,SPRN_HID0 | ||
23 | ori r3,r3,HID0_DAPUEN@l | ||
24 | mtspr SPRN_HID0,r3 | ||
25 | b __setup_e200_ivors | ||
26 | _GLOBAL(__setup_cpu_e500v1) | ||
27 | _GLOBAL(__setup_cpu_e500v2) | ||
28 | b __setup_e500_ivors | ||
29 | _GLOBAL(__setup_cpu_e500mc) | ||
30 | b __setup_e500mc_ivors | ||
31 | |||