diff options
Diffstat (limited to 'arch/s390/include/asm/setup.h')
-rw-r--r-- | arch/s390/include/asm/setup.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/arch/s390/include/asm/setup.h b/arch/s390/include/asm/setup.h index b8d1e54b4733..b8ffc1bd0a9f 100644 --- a/arch/s390/include/asm/setup.h +++ b/arch/s390/include/asm/setup.h | |||
@@ -15,19 +15,11 @@ | |||
15 | #include <asm/lowcore.h> | 15 | #include <asm/lowcore.h> |
16 | #include <asm/types.h> | 16 | #include <asm/types.h> |
17 | 17 | ||
18 | #ifndef CONFIG_64BIT | ||
19 | #define IPL_DEVICE (*(unsigned long *) (0x10404)) | ||
20 | #define INITRD_START (*(unsigned long *) (0x1040C)) | ||
21 | #define INITRD_SIZE (*(unsigned long *) (0x10414)) | ||
22 | #define OLDMEM_BASE (*(unsigned long *) (0x1041C)) | ||
23 | #define OLDMEM_SIZE (*(unsigned long *) (0x10424)) | ||
24 | #else /* CONFIG_64BIT */ | ||
25 | #define IPL_DEVICE (*(unsigned long *) (0x10400)) | 18 | #define IPL_DEVICE (*(unsigned long *) (0x10400)) |
26 | #define INITRD_START (*(unsigned long *) (0x10408)) | 19 | #define INITRD_START (*(unsigned long *) (0x10408)) |
27 | #define INITRD_SIZE (*(unsigned long *) (0x10410)) | 20 | #define INITRD_SIZE (*(unsigned long *) (0x10410)) |
28 | #define OLDMEM_BASE (*(unsigned long *) (0x10418)) | 21 | #define OLDMEM_BASE (*(unsigned long *) (0x10418)) |
29 | #define OLDMEM_SIZE (*(unsigned long *) (0x10420)) | 22 | #define OLDMEM_SIZE (*(unsigned long *) (0x10420)) |
30 | #endif /* CONFIG_64BIT */ | ||
31 | #define COMMAND_LINE ((char *) (0x10480)) | 23 | #define COMMAND_LINE ((char *) (0x10480)) |
32 | 24 | ||
33 | extern int memory_end_set; | 25 | extern int memory_end_set; |
@@ -68,26 +60,8 @@ extern void detect_memory_memblock(void); | |||
68 | #define MACHINE_HAS_PFMF MACHINE_HAS_EDAT1 | 60 | #define MACHINE_HAS_PFMF MACHINE_HAS_EDAT1 |
69 | #define MACHINE_HAS_HPAGE MACHINE_HAS_EDAT1 | 61 | #define MACHINE_HAS_HPAGE MACHINE_HAS_EDAT1 |
70 | 62 | ||
71 | #ifndef CONFIG_64BIT | ||
72 | #define MACHINE_HAS_IEEE (S390_lowcore.machine_flags & MACHINE_FLAG_IEEE) | ||
73 | #define MACHINE_HAS_CSP (S390_lowcore.machine_flags & MACHINE_FLAG_CSP) | ||
74 | #define MACHINE_HAS_IDTE (0) | ||
75 | #define MACHINE_HAS_DIAG44 (1) | ||
76 | #define MACHINE_HAS_MVPG (S390_lowcore.machine_flags & MACHINE_FLAG_MVPG) | ||
77 | #define MACHINE_HAS_EDAT1 (0) | ||
78 | #define MACHINE_HAS_EDAT2 (0) | ||
79 | #define MACHINE_HAS_LPP (0) | ||
80 | #define MACHINE_HAS_TOPOLOGY (0) | ||
81 | #define MACHINE_HAS_TE (0) | ||
82 | #define MACHINE_HAS_TLB_LC (0) | ||
83 | #define MACHINE_HAS_VX (0) | ||
84 | #define MACHINE_HAS_CAD (0) | ||
85 | #else /* CONFIG_64BIT */ | ||
86 | #define MACHINE_HAS_IEEE (1) | ||
87 | #define MACHINE_HAS_CSP (1) | ||
88 | #define MACHINE_HAS_IDTE (S390_lowcore.machine_flags & MACHINE_FLAG_IDTE) | 63 | #define MACHINE_HAS_IDTE (S390_lowcore.machine_flags & MACHINE_FLAG_IDTE) |
89 | #define MACHINE_HAS_DIAG44 (S390_lowcore.machine_flags & MACHINE_FLAG_DIAG44) | 64 | #define MACHINE_HAS_DIAG44 (S390_lowcore.machine_flags & MACHINE_FLAG_DIAG44) |
90 | #define MACHINE_HAS_MVPG (1) | ||
91 | #define MACHINE_HAS_EDAT1 (S390_lowcore.machine_flags & MACHINE_FLAG_EDAT1) | 65 | #define MACHINE_HAS_EDAT1 (S390_lowcore.machine_flags & MACHINE_FLAG_EDAT1) |
92 | #define MACHINE_HAS_EDAT2 (S390_lowcore.machine_flags & MACHINE_FLAG_EDAT2) | 66 | #define MACHINE_HAS_EDAT2 (S390_lowcore.machine_flags & MACHINE_FLAG_EDAT2) |
93 | #define MACHINE_HAS_LPP (S390_lowcore.machine_flags & MACHINE_FLAG_LPP) | 67 | #define MACHINE_HAS_LPP (S390_lowcore.machine_flags & MACHINE_FLAG_LPP) |
@@ -96,7 +70,6 @@ extern void detect_memory_memblock(void); | |||
96 | #define MACHINE_HAS_TLB_LC (S390_lowcore.machine_flags & MACHINE_FLAG_TLB_LC) | 70 | #define MACHINE_HAS_TLB_LC (S390_lowcore.machine_flags & MACHINE_FLAG_TLB_LC) |
97 | #define MACHINE_HAS_VX (S390_lowcore.machine_flags & MACHINE_FLAG_VX) | 71 | #define MACHINE_HAS_VX (S390_lowcore.machine_flags & MACHINE_FLAG_VX) |
98 | #define MACHINE_HAS_CAD (S390_lowcore.machine_flags & MACHINE_FLAG_CAD) | 72 | #define MACHINE_HAS_CAD (S390_lowcore.machine_flags & MACHINE_FLAG_CAD) |
99 | #endif /* CONFIG_64BIT */ | ||
100 | 73 | ||
101 | /* | 74 | /* |
102 | * Console mode. Override with conmode= | 75 | * Console mode. Override with conmode= |
@@ -135,19 +108,11 @@ extern void (*_machine_power_off)(void); | |||
135 | 108 | ||
136 | #else /* __ASSEMBLY__ */ | 109 | #else /* __ASSEMBLY__ */ |
137 | 110 | ||
138 | #ifndef CONFIG_64BIT | ||
139 | #define IPL_DEVICE 0x10404 | ||
140 | #define INITRD_START 0x1040C | ||
141 | #define INITRD_SIZE 0x10414 | ||
142 | #define OLDMEM_BASE 0x1041C | ||
143 | #define OLDMEM_SIZE 0x10424 | ||
144 | #else /* CONFIG_64BIT */ | ||
145 | #define IPL_DEVICE 0x10400 | 111 | #define IPL_DEVICE 0x10400 |
146 | #define INITRD_START 0x10408 | 112 | #define INITRD_START 0x10408 |
147 | #define INITRD_SIZE 0x10410 | 113 | #define INITRD_SIZE 0x10410 |
148 | #define OLDMEM_BASE 0x10418 | 114 | #define OLDMEM_BASE 0x10418 |
149 | #define OLDMEM_SIZE 0x10420 | 115 | #define OLDMEM_SIZE 0x10420 |
150 | #endif /* CONFIG_64BIT */ | ||
151 | #define COMMAND_LINE 0x10480 | 116 | #define COMMAND_LINE 0x10480 |
152 | 117 | ||
153 | #endif /* __ASSEMBLY__ */ | 118 | #endif /* __ASSEMBLY__ */ |