diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2019-06-03 14:50:50 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-06-04 10:29:05 +1000 |
commit | 16b7ae64103797b0ecab1dbb7c45df23b14810b9 (patch) | |
tree | a3330ee950c4f93c9c7afe278cf1425f66366b95 /asm/head.S | |
parent | 9cae036fafea468219892406a846639f2715854d (diff) | |
download | skiboot-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 'asm/head.S')
-rw-r--r-- | asm/head.S | 58 |
1 files changed, 0 insertions, 58 deletions
@@ -44,12 +44,6 @@ . = 0 .global __head __head: - /* - * When booting a P7 machine in OPAL mode this pointer is used to - * find the opal variant of the NACA. Unused on other machines. - */ - .llong opal_naca - /* This entry point is used when booting with a flat device-tree * pointer in r3 */ @@ -343,10 +337,6 @@ boot_entry: mfspr %r28,SPR_PVR li %r26,3 /* Default to SMT4 */ srdi %r3,%r28,16 - cmpwi cr0,%r3,PVR_TYPE_P7 - beq 1f - cmpwi cr0,%r3,PVR_TYPE_P7P - beq 1f cmpwi cr0,%r3,PVR_TYPE_P8 beq 2f cmpwi cr0,%r3,PVR_TYPE_P8E @@ -693,10 +683,6 @@ init_shared_sprs: mfspr %r3,SPR_PVR srdi %r3,%r3,16 - cmpwi cr0,%r3,PVR_TYPE_P7 - beq 1f - cmpwi cr0,%r3,PVR_TYPE_P7P - beq 2f cmpwi cr0,%r3,PVR_TYPE_P8E beq 3f cmpwi cr0,%r3,PVR_TYPE_P8 @@ -710,20 +696,6 @@ init_shared_sprs: /* Unsupported CPU type... what do we do ? */ b 9f -1: /* P7 */ - mtspr SPR_SDR1, %r0 - /* TSCR: Value from pHyp */ - LOAD_IMM32(%r3,0x880DE880) - mtspr SPR_TSCR, %r3 - b 9f - -2: /* P7+ */ - mtspr SPR_SDR1, %r0 - /* TSCR: Recommended value by HW folks */ - LOAD_IMM32(%r3,0x88CDE880) - mtspr SPR_TSCR, %r3 - b 9f - 3: /* P8E/P8 */ mtspr SPR_SDR1, %r0 /* TSCR: Recommended value by HW folks */ @@ -795,10 +767,6 @@ init_shared_sprs: init_replicated_sprs: mfspr %r3,SPR_PVR srdi %r3,%r3,16 - cmpwi cr0,%r3,PVR_TYPE_P7 - beq 1f - cmpwi cr0,%r3,PVR_TYPE_P7P - beq 1f cmpwi cr0,%r3,PVR_TYPE_P8E beq 3f cmpwi cr0,%r3,PVR_TYPE_P8 @@ -812,16 +780,6 @@ init_replicated_sprs: /* Unsupported CPU type... what do we do ? */ b 9f -1: /* P7, P7+ */ - /* LPCR: sane value */ - LOAD_IMM64(%r3,0x0040000000000004) - mtspr SPR_LPCR, %r3 - sync - isync - LOAD_IMM64(%r3,0x0) - mtspr SPR_DSCR,%r3 - b 9f - 3: /* P8, P8E */ /* LPCR: sane value */ LOAD_IMM64(%r3,0x0040000000000000) @@ -903,22 +861,6 @@ hv_lid_load_table: .long 0 .long 0 -/* - * - * OPAL variant of NACA. This is only used when booting a P7 in OPAL mode. - * - */ -.global opal_naca -opal_naca: - .llong opal_boot_trampoline /* Primary entry (used ?) */ - .llong opal_boot_trampoline /* Secondary entry (used ?) */ - .llong spira /* Spira pointer */ - .llong 0 /* Load address */ - .llong opal_boot_trampoline /* 0x180 trampoline */ - .llong 0 /* More stuff as seen in objdump ...*/ - .llong 0 - .llong 0 - .llong 0 /* The FSP seems to ignore our primary/secondary entry * points and instead copy that bit down to 0x180 and |