diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2009-01-08 09:31:20 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-01-28 19:16:50 -0500 |
commit | 105c31df6fc5a424b480321763b5598cf3817821 (patch) | |
tree | da2bee2ae3db6b0af900947f60cb0c7bf1b9bd1f /arch/powerpc/kernel/Makefile | |
parent | 0585a155a7318e69d43ef20636c2f072ad17d03f (diff) |
powerpc/fsl-booke: Cleanup init/exception setup to be runtime
We currently have a few variants of fsl-booke processors (e500v1, e500v2,
e500mc, and e200). They all have minor differences that we had previously
been handling via ifdefs.
To move towards having this support the following changes have been made:
* PID1, PID2 only exist on e500v1 & e500v2 and should not be accessed on
e500mc or e200. We use MMUCFG[NPIDS] to determine which case we are
since we only touch PID1/2 in extremely early init code.
* Not all IVORs exist on all the processors so introduce cpu_setup
functions for each variant to setup the proper IVORs that are either
unique or exist but have some variations between the processors
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/Makefile')
-rw-r--r-- | arch/powerpc/kernel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 8d1a419df35d..d15992119085 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile | |||
@@ -61,6 +61,7 @@ obj-$(CONFIG_HIBERNATION) += swsusp.o suspend.o \ | |||
61 | obj64-$(CONFIG_HIBERNATION) += swsusp_asm64.o | 61 | obj64-$(CONFIG_HIBERNATION) += swsusp_asm64.o |
62 | obj-$(CONFIG_MODULES) += module.o module_$(CONFIG_WORD_SIZE).o | 62 | obj-$(CONFIG_MODULES) += module.o module_$(CONFIG_WORD_SIZE).o |
63 | obj-$(CONFIG_44x) += cpu_setup_44x.o | 63 | obj-$(CONFIG_44x) += cpu_setup_44x.o |
64 | obj-$(CONFIG_FSL_BOOKE) += cpu_setup_fsl_booke.o | ||
64 | 65 | ||
65 | extra-$(CONFIG_PPC_STD_MMU) := head_32.o | 66 | extra-$(CONFIG_PPC_STD_MMU) := head_32.o |
66 | extra-$(CONFIG_PPC64) := head_64.o | 67 | extra-$(CONFIG_PPC64) := head_64.o |