aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/firmware.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/firmware.h')
-rw-r--r--arch/powerpc/include/asm/firmware.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/firmware.h b/arch/powerpc/include/asm/firmware.h
index 3a6c586c4e40..14db29b18d0e 100644
--- a/arch/powerpc/include/asm/firmware.h
+++ b/arch/powerpc/include/asm/firmware.h
@@ -48,6 +48,8 @@
48#define FW_FEATURE_CMO ASM_CONST(0x0000000002000000) 48#define FW_FEATURE_CMO ASM_CONST(0x0000000002000000)
49#define FW_FEATURE_VPHN ASM_CONST(0x0000000004000000) 49#define FW_FEATURE_VPHN ASM_CONST(0x0000000004000000)
50#define FW_FEATURE_XCMO ASM_CONST(0x0000000008000000) 50#define FW_FEATURE_XCMO ASM_CONST(0x0000000008000000)
51#define FW_FEATURE_OPAL ASM_CONST(0x0000000010000000)
52#define FW_FEATURE_OPALv2 ASM_CONST(0x0000000020000000)
51 53
52#ifndef __ASSEMBLY__ 54#ifndef __ASSEMBLY__
53 55
@@ -65,6 +67,8 @@ enum {
65 FW_FEATURE_PSERIES_ALWAYS = 0, 67 FW_FEATURE_PSERIES_ALWAYS = 0,
66 FW_FEATURE_ISERIES_POSSIBLE = FW_FEATURE_ISERIES | FW_FEATURE_LPAR, 68 FW_FEATURE_ISERIES_POSSIBLE = FW_FEATURE_ISERIES | FW_FEATURE_LPAR,
67 FW_FEATURE_ISERIES_ALWAYS = FW_FEATURE_ISERIES | FW_FEATURE_LPAR, 69 FW_FEATURE_ISERIES_ALWAYS = FW_FEATURE_ISERIES | FW_FEATURE_LPAR,
70 FW_FEATURE_POWERNV_POSSIBLE = FW_FEATURE_OPAL | FW_FEATURE_OPALv2,
71 FW_FEATURE_POWERNV_ALWAYS = 0,
68 FW_FEATURE_PS3_POSSIBLE = FW_FEATURE_LPAR | FW_FEATURE_PS3_LV1, 72 FW_FEATURE_PS3_POSSIBLE = FW_FEATURE_LPAR | FW_FEATURE_PS3_LV1,
69 FW_FEATURE_PS3_ALWAYS = FW_FEATURE_LPAR | FW_FEATURE_PS3_LV1, 73 FW_FEATURE_PS3_ALWAYS = FW_FEATURE_LPAR | FW_FEATURE_PS3_LV1,
70 FW_FEATURE_CELLEB_POSSIBLE = FW_FEATURE_LPAR | FW_FEATURE_BEAT, 74 FW_FEATURE_CELLEB_POSSIBLE = FW_FEATURE_LPAR | FW_FEATURE_BEAT,
@@ -78,6 +82,9 @@ enum {
78#ifdef CONFIG_PPC_ISERIES 82#ifdef CONFIG_PPC_ISERIES
79 FW_FEATURE_ISERIES_POSSIBLE | 83 FW_FEATURE_ISERIES_POSSIBLE |
80#endif 84#endif
85#ifdef CONFIG_PPC_POWERNV
86 FW_FEATURE_POWERNV_POSSIBLE |
87#endif
81#ifdef CONFIG_PPC_PS3 88#ifdef CONFIG_PPC_PS3
82 FW_FEATURE_PS3_POSSIBLE | 89 FW_FEATURE_PS3_POSSIBLE |
83#endif 90#endif
@@ -95,6 +102,9 @@ enum {
95#ifdef CONFIG_PPC_ISERIES 102#ifdef CONFIG_PPC_ISERIES
96 FW_FEATURE_ISERIES_ALWAYS & 103 FW_FEATURE_ISERIES_ALWAYS &
97#endif 104#endif
105#ifdef CONFIG_PPC_POWERNV
106 FW_FEATURE_POWERNV_ALWAYS &
107#endif
98#ifdef CONFIG_PPC_PS3 108#ifdef CONFIG_PPC_PS3
99 FW_FEATURE_PS3_ALWAYS & 109 FW_FEATURE_PS3_ALWAYS &
100#endif 110#endif