From 7c6a8ba7eda448b90c9e2753d18a3abbbba4accd Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Thu, 27 Feb 2014 15:42:27 -0600 Subject: Use new scratch reg for hb_done and set early in IPL This is to support using the scratch register for the power off message. I moved to a new scratch register since we were sharing with a SBE scratch reg that was needed early in HB IPL. NOTE! This will have a co-req with an FSP track so we'll need to coordinate. CMVC-Coreq: 917527 Change-Id: I5f81f15126d6ad8d2c9459c5afe730554256c037 RTC: 95818 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9220 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell Reviewed-by: MIKE J. JONES Reviewed-by: A. Patrick Williams III --- src/include/sys/mmio.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/include/sys') diff --git a/src/include/sys/mmio.h b/src/include/sys/mmio.h index d536b281b..29f560bd6 100644 --- a/src/include/sys/mmio.h +++ b/src/include/sys/mmio.h @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2013 */ +/* COPYRIGHT International Business Machines Corp. 2010,2014 */ /* */ /* p1 */ /* */ @@ -86,8 +86,9 @@ enum MMIO_Scratch_Register MMIO_SCRATCH_PNOR_MODE = 0x8, /** Thread2 Scratch Register - Unused */ MMIO_SCRATCH_ISTEP_MODE = 0x10, - /** Thread3 Scratch Register - Unused */ - MMIO_SCRATCH_RSVD_T3 = 0x18, + /** Thread3 Scratch Register - Identifies if Hostboot is active after + * host_start_payload. */ + MMIO_SCRATCH_HOSTBOOT_ACTIVE = 0x18, /** Thread4 Scratch Register - Unused */ MMIO_SCRATCH_RSVD_T4 = 0x20, /** Thread5 Scratch Register - Unused (unit tests may modify) */ @@ -95,9 +96,6 @@ enum MMIO_Scratch_Register /** Thread6 Scratch Register - Identifies where hostboot currently resides and how large the space is */ MMIO_SCRATCH_MEMORY_STATE = 0x30, - /** Thread7 Scratch Register - Identifies if Hostboot is active after - * host_start_payload. */ - MMIO_SCRATCH_HOSTBOOT_ACTIVE = 0x38, /** Thread7 Scratch Register - Set be SBE for reduced-threads support * for AVPs. */ MMIO_SCRATCH_AVP_THREADS = 0x38, -- cgit v1.2.1