aboutsummaryrefslogtreecommitdiff
path: root/hdata/test
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-06-03 14:50:50 +1000
committerStewart Smith <stewart@linux.ibm.com>2019-06-04 10:29:05 +1000
commit16b7ae64103797b0ecab1dbb7c45df23b14810b9 (patch)
treea3330ee950c4f93c9c7afe278cf1425f66366b95 /hdata/test
parent9cae036fafea468219892406a846639f2715854d (diff)
downloadskiboot-16b7ae64103797b0ecab1dbb7c45df23b14810b9.zip
skiboot-16b7ae64103797b0ecab1dbb7c45df23b14810b9.tar.gz
skiboot-16b7ae64103797b0ecab1dbb7c45df23b14810b9.tar.bz2
Remove POWER7 and POWER7+ support
It's been a good long while since either OPAL POWER7 user touched a machine, and even longer since they'd have been okay using an old version rather than tracking master. There's also been no testing of OPAL on POWER7 systems for an awfully long time, so it's pretty safe to assume that it's very much bitrotted. It also saves a whole 14kb of xz compressed payload space. Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Enthusiasticly-Acked-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hdata/test')
-rw-r--r--hdata/test/hdata_to_dt.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/hdata/test/hdata_to_dt.c b/hdata/test/hdata_to_dt.c
index 5d30600..8692177 100644
--- a/hdata/test/hdata_to_dt.c
+++ b/hdata/test/hdata_to_dt.c
@@ -63,15 +63,11 @@ unsigned long tb_hz = 512000000;
#define PVR_VERS_MIN(_pvr) GETFIELD(SPR_PVR_VERS_MIN, _pvr)
/* PVR definitions - copied from skiboot include/processor.h */
-#define PVR_TYPE_P7 0x003f
-#define PVR_TYPE_P7P 0x004a
#define PVR_TYPE_P8E 0x004b
#define PVR_TYPE_P8 0x004d
#define PVR_TYPE_P8NVL 0x004c
#define PVR_TYPE_P9 0x004e
#define PVR_TYPE_P9P 0x004f
-#define PVR_P7 0x003f0201
-#define PVR_P7P 0x004a0201
#define PVR_P8E 0x004b0201
#define PVR_P8 0x004d0200
#define PVR_P8NVL 0x004c0100
@@ -103,7 +99,7 @@ static inline struct cpu_job *cpu_queue_job(struct cpu_thread *cpu,
}
struct cpu_thread __boot_cpu, *boot_cpu = &__boot_cpu;
-static unsigned long fake_pvr = PVR_P7;
+static unsigned long fake_pvr = PVR_P8;
static inline unsigned long mfspr(unsigned int spr)
{
@@ -186,7 +182,7 @@ void op_display(enum op_severity s, enum op_module m, uint16_t code)
char __rodata_start[1], __rodata_end[1];
-enum proc_gen proc_gen = proc_gen_p7;
+enum proc_gen proc_gen = proc_gen_p8;
static bool spira_check_ptr(const void *ptr, const char *file, unsigned int line)
{
@@ -316,10 +312,6 @@ int main(int argc, char *argv[])
} else if (strcmp(argv[i], "-b") == 0) {
blobs = true;
opt_count++;
- } else if (strcmp(argv[i], "-7") == 0) {
- fake_pvr = PVR_P7;
- proc_gen = proc_gen_p7;
- opt_count++;
} else if (strcmp(argv[i], "-8E") == 0) {
fake_pvr = PVR_P8;
proc_gen = proc_gen_p8;
@@ -352,7 +344,6 @@ int main(int argc, char *argv[])
" -q Quiet mode\n"
" -b Keep blobs in the output\n"
"\n"
- " -7 Force PVR to POWER7\n"
" -8 Force PVR to POWER8\n"
" -8E Force PVR to POWER8E\n"
" -9 Force PVR to POWER9 (nimbus)\n"