[POWERPC] ps3: add feature bits
authorGeoff Levand <geoffrey.levand@am.sony.com>
Wed, 22 Nov 2006 23:46:53 +0000 (00:46 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:40:46 +0000 (20:40 +1100)
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>
include/asm-powerpc/firmware.h

index fdf9aff71150412a9d351241b3c10d65652eb38a..d1011b892d5688edff95e3d4f91431565047f41c 100644 (file)
@@ -58,12 +58,17 @@ enum {
        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 |
 #endif
 #ifdef CONFIG_PPC_ISERIES
                FW_FEATURE_ISERIES_POSSIBLE |
+#endif
+#ifdef CONFIG_PS3
+               FW_FEATURE_PS3_POSSIBLE |
 #endif
                0,
        FW_FEATURE_ALWAYS =
@@ -72,6 +77,9 @@ enum {
 #endif
 #ifdef CONFIG_PPC_ISERIES
                FW_FEATURE_ISERIES_ALWAYS &
+#endif
+#ifdef CONFIG_PS3
+               FW_FEATURE_PS3_ALWAYS &
 #endif
                FW_FEATURE_POSSIBLE,