aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2006-11-22 18:46:53 -0500
committerPaul Mackerras <paulus@samba.org>2006-12-04 04:40:46 -0500
commit82a527f0bd84977d7e85f15fb1f987c42cc0a68d (patch)
tree453bb7030433762c801d6051973b0e8f7d5ae0fe
parent1e4ed915d133aaa2802d11914a7e80b3e31304e6 (diff)
[POWERPC] ps3: add feature bits
Adds the needed firmware feature bits for the PS3. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
-rw-r--r--include/asm-powerpc/firmware.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-powerpc/firmware.h b/include/asm-powerpc/firmware.h
index fdf9aff71150..d1011b892d56 100644
--- a/include/asm-powerpc/firmware.h
+++ b/include/asm-powerpc/firmware.h
@@ -58,6 +58,8 @@ enum {
58 FW_FEATURE_PSERIES_ALWAYS = 0, 58 FW_FEATURE_PSERIES_ALWAYS = 0,
59 FW_FEATURE_ISERIES_POSSIBLE = FW_FEATURE_ISERIES | FW_FEATURE_LPAR, 59 FW_FEATURE_ISERIES_POSSIBLE = FW_FEATURE_ISERIES | FW_FEATURE_LPAR,
60 FW_FEATURE_ISERIES_ALWAYS = FW_FEATURE_ISERIES | FW_FEATURE_LPAR, 60 FW_FEATURE_ISERIES_ALWAYS = FW_FEATURE_ISERIES | FW_FEATURE_LPAR,
61 FW_FEATURE_PS3_POSSIBLE = FW_FEATURE_LPAR,
62 FW_FEATURE_PS3_ALWAYS = FW_FEATURE_LPAR,
61 FW_FEATURE_POSSIBLE = 63 FW_FEATURE_POSSIBLE =
62#ifdef CONFIG_PPC_PSERIES 64#ifdef CONFIG_PPC_PSERIES
63 FW_FEATURE_PSERIES_POSSIBLE | 65 FW_FEATURE_PSERIES_POSSIBLE |
@@ -65,6 +67,9 @@ enum {
65#ifdef CONFIG_PPC_ISERIES 67#ifdef CONFIG_PPC_ISERIES
66 FW_FEATURE_ISERIES_POSSIBLE | 68 FW_FEATURE_ISERIES_POSSIBLE |
67#endif 69#endif
70#ifdef CONFIG_PS3
71 FW_FEATURE_PS3_POSSIBLE |
72#endif
68 0, 73 0,
69 FW_FEATURE_ALWAYS = 74 FW_FEATURE_ALWAYS =
70#ifdef CONFIG_PPC_PSERIES 75#ifdef CONFIG_PPC_PSERIES
@@ -73,6 +78,9 @@ enum {
73#ifdef CONFIG_PPC_ISERIES 78#ifdef CONFIG_PPC_ISERIES
74 FW_FEATURE_ISERIES_ALWAYS & 79 FW_FEATURE_ISERIES_ALWAYS &
75#endif 80#endif
81#ifdef CONFIG_PS3
82 FW_FEATURE_PS3_ALWAYS &
83#endif
76 FW_FEATURE_POSSIBLE, 84 FW_FEATURE_POSSIBLE,
77 85
78#else /* CONFIG_PPC64 */ 86#else /* CONFIG_PPC64 */