Skip to contentSkip to conversation

powerpc: add ps3 platform feature bits

PATCH In review Geoff Levand 1 participant 1 message Nov 22, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 6/14 powerpc: add ps3 platform feature bits

From: Geoff Levand <[email protected]>

Adds the needed firmware feature bits for the PS3.

---
 include/asm-powerpc/firmware.h |    8 ++++++++
 1 files changed, 8 insertions(+)
include/asm-powerpc/firmware.h +8 -0
Index: cell--common--6/include/asm-powerpc/firmware.h
===================================================================
@@ -58,6 +58,8 @@
 	FW_FEATURE_PSERIES_ALWAYS = 0,
 	FW_FEATURE_ISERIES_POSSIBLE = FW_FEATURE_ISERIES | FW_FEATURE_LPAR,
 	FW_FEATURE_ISERIES_ALWAYS = FW_FEATURE_ISERIES | FW_FEATURE_LPAR,
+	FW_FEATURE_PS3_POSSIBLE = FW_FEATURE_LPAR,
+	FW_FEATURE_PS3_ALWAYS = FW_FEATURE_LPAR,
 	FW_FEATURE_POSSIBLE =
 #ifdef CONFIG_PPC_PSERIES
 		FW_FEATURE_PSERIES_POSSIBLE |
@@ -65,6 +67,9 @@
 #ifdef CONFIG_PPC_ISERIES
 		FW_FEATURE_ISERIES_POSSIBLE |
 #endif
+#ifdef CONFIG_PS3
+		FW_FEATURE_PS3_POSSIBLE |
+#endif
 		0,
 	FW_FEATURE_ALWAYS =
 #ifdef CONFIG_PPC_PSERIES
@@ -73,6 +78,9 @@
 #ifdef CONFIG_PPC_ISERIES
 		FW_FEATURE_ISERIES_ALWAYS &
 #endif
+#ifdef CONFIG_PS3
+		FW_FEATURE_PS3_ALWAYS &
+#endif
 		FW_FEATURE_POSSIBLE,
 
 #else /* CONFIG_PPC64 */