summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/firmware.h
diff options
context:
space:
mode:
authorGeoff Levand2006-11-23 00:46:53 +0100
committerPaul Mackerras2006-12-04 10:40:46 +0100
commit82a527f0bd84977d7e85f15fb1f987c42cc0a68d (patch)
tree453bb7030433762c801d6051973b0e8f7d5ae0fe /include/asm-powerpc/firmware.h
parent[POWERPC] ps3: add lv1 hvcalls (diff)
downloadkernel-qcow2-linux-82a527f0bd84977d7e85f15fb1f987c42cc0a68d.tar.gz
kernel-qcow2-linux-82a527f0bd84977d7e85f15fb1f987c42cc0a68d.tar.xz
kernel-qcow2-linux-82a527f0bd84977d7e85f15fb1f987c42cc0a68d.zip
[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>
Diffstat (limited to 'include/asm-powerpc/firmware.h')
-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 {
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 @@ enum {
#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 @@ enum {
#ifdef CONFIG_PPC_ISERIES
FW_FEATURE_ISERIES_ALWAYS &
#endif
+#ifdef CONFIG_PS3
+ FW_FEATURE_PS3_ALWAYS &
+#endif
FW_FEATURE_POSSIBLE,
#else /* CONFIG_PPC64 */