[PATCH 8/16] powerpc: add ps3 platform feature bits
Geoff Levand
geoffrey.levand at am.sony.com
Fri Nov 17 14:43:02 EST 2006
Adds the needed firmware feature bits for ps3pf.
Signed-off-by: Geoff Levand <geoffrey.levand at am.sony.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann at de.ibm.com>
---
include/asm-powerpc/firmware.h | 8 ++++++++
1 file changed, 8 insertions(+)
Index: cell--common--6/include/asm-powerpc/firmware.h
===================================================================
--- cell--common--6.orig/include/asm-powerpc/firmware.h
+++ 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_PS3PF_POSSIBLE = FW_FEATURE_LPAR,
+ FW_FEATURE_PS3PF_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_PS3PF
+ FW_FEATURE_PS3PF_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_PS3PF
+ FW_FEATURE_PS3PF_ALWAYS &
+#endif
FW_FEATURE_POSSIBLE,
#else /* CONFIG_PPC64 */
More information about the Linuxppc-dev
mailing list