diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2016-09-23 15:55:14 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-09-27 16:16:35 +1000 |
commit | 11c2a586c24890b50d986efa5f46fcccec5d80f4 (patch) | |
tree | 1a4948def6b3db450233f03a465febd8c94845dc /asm | |
parent | b5e54375bdc424eb2e709d41d2306d854f7e07bb (diff) | |
download | skiboot-11c2a586c24890b50d986efa5f46fcccec5d80f4.zip skiboot-11c2a586c24890b50d986efa5f46fcccec5d80f4.tar.gz skiboot-11c2a586c24890b50d986efa5f46fcccec5d80f4.tar.bz2 |
core/init: remove master_cpu parameter
master_cpu is used to determine the ChipTOD master if no ChipTOD
information is available in the HDAT. However, it is set to zero at every
skiboot entry point (fdt_entry, the 0x180 FSP entry and
opal_boot_trampoline) and is otherwise unused. This patch removes this
passing around and uses the boot CPU PIR to find the ChipTOD master rather
than zero.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'asm')
-rw-r--r-- | asm/head.S | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -57,7 +57,6 @@ __head: .global fdt_entry fdt_entry: mr %r27,%r3 - li %r25,0 b boot_entry /* This is a pointer to a descriptor used by debugging tools @@ -109,7 +108,6 @@ hir_trigger: /* Entry point set by the FSP */ .= 0x180 li %r27,0 - li %r25,0 b boot_entry #define EXCEPTION(nr) \ @@ -249,7 +247,6 @@ boot_offset: * r28 : PVR * r27 : DTB pointer (or NULL) * r26 : PIR thread mask - * r25 : Selected master CPU (OPAL boot) */ .global boot_entry boot_entry: @@ -390,7 +387,6 @@ boot_entry: #endif /* Jump to C */ mr %r3,%r27 - mr %r4,%r25 bl main_cpu_entry b . @@ -819,7 +815,6 @@ opal_naca: * got to the same entry we use for pHyp and FDT HB. */ opal_boot_trampoline: - li %r25,0 li %r27,-1 ba boot_entry - __head |