diff options
author | Paul Mackerras <paulus@samba.org> | 2006-03-27 18:22:10 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-27 18:22:10 -0500 |
commit | 0a26b1364f14852bc9a51db0ca63c5250c775627 (patch) | |
tree | 83422473cb4bf4c450012cded06288a0dc6abedf /include/asm-powerpc | |
parent | ff2e6d7e27cf1f757ab0d97e1a9e46de47152a0e (diff) |
ppc: Remove CHRP, POWER3 and POWER4 support from arch/ppc
32-bit CHRP machines are now supported only in arch/powerpc, as are
all 64-bit PowerPC processors. This means that we don't use
Open Firmware on any platform in arch/ppc any more.
This makes PReP support a single-platform option like every other
platform support option in arch/ppc now, thus CONFIG_PPC_MULTIPLATFORM
is gone from arch/ppc. CONFIG_PPC_PREP is the option that selects
PReP support and is generally what has replaced
CONFIG_PPC_MULTIPLATFORM within arch/ppc.
_machine is all but dead now, being #defined to 0.
Updated Makefiles, comments and Kconfig options generally to reflect
these changes.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/processor.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-powerpc/processor.h b/include/asm-powerpc/processor.h index 1c64a211cf19..a64198fcfd02 100644 --- a/include/asm-powerpc/processor.h +++ b/include/asm-powerpc/processor.h | |||
@@ -53,10 +53,7 @@ | |||
53 | #define platform_is_pseries() (_machine == PLATFORM_PSERIES || \ | 53 | #define platform_is_pseries() (_machine == PLATFORM_PSERIES || \ |
54 | _machine == PLATFORM_PSERIES_LPAR) | 54 | _machine == PLATFORM_PSERIES_LPAR) |
55 | 55 | ||
56 | #if defined(CONFIG_PPC_MULTIPLATFORM) | 56 | #ifdef CONFIG_PPC_PREP |
57 | extern int _machine; | ||
58 | |||
59 | #ifdef CONFIG_PPC32 | ||
60 | 57 | ||
61 | /* what kind of prep workstation we are */ | 58 | /* what kind of prep workstation we are */ |
62 | extern int _prep_type; | 59 | extern int _prep_type; |
@@ -70,7 +67,10 @@ extern int _chrp_type; | |||
70 | extern unsigned char ucBoardRev; | 67 | extern unsigned char ucBoardRev; |
71 | extern unsigned char ucBoardRevMaj, ucBoardRevMin; | 68 | extern unsigned char ucBoardRevMaj, ucBoardRevMin; |
72 | 69 | ||
73 | #endif /* CONFIG_PPC32 */ | 70 | #endif /* CONFIG_PPC_PREP */ |
71 | |||
72 | #if defined(CONFIG_PPC_MULTIPLATFORM) | ||
73 | extern int _machine; | ||
74 | 74 | ||
75 | #elif defined(CONFIG_PPC_ISERIES) | 75 | #elif defined(CONFIG_PPC_ISERIES) |
76 | /* | 76 | /* |