summaryrefslogtreecommitdiffstats
path: root/src/include/sys
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2013-08-28 15:16:54 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-09-11 14:43:51 -0500
commit2283a24d0273ae66ec0b826a7b9ed567bba1f0ef (patch)
treef492eab31b6159862635a46192d4f8ea23520389 /src/include/sys
parent45582a26440be119bc57606a99ee85f7f2726c31 (diff)
downloadtalos-hostboot-2283a24d0273ae66ec0b826a7b9ed567bba1f0ef.tar.gz
talos-hostboot-2283a24d0273ae66ec0b826a7b9ed567bba1f0ef.zip
Resolve testcase race conditions with SCAN.
A number of test cases were writing to the SCAN select register and if the SCAN device driver unit tests were running at the same time they would clobber each other. Moved the other test cases to utilize a core scratch register instead. Change-Id: I243500ce40cdb75e1052541056f9460e50e0bbcd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5977 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/sys')
-rw-r--r--src/include/sys/mmio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/sys/mmio.h b/src/include/sys/mmio.h
index 9fd609cf9..d536b281b 100644
--- a/src/include/sys/mmio.h
+++ b/src/include/sys/mmio.h
@@ -90,8 +90,8 @@ enum MMIO_Scratch_Register
MMIO_SCRATCH_RSVD_T3 = 0x18,
/** Thread4 Scratch Register - Unused */
MMIO_SCRATCH_RSVD_T4 = 0x20,
- /** Thread5 Scratch Register - Unused */
- MMIO_SCRATCH_RSVD_T5 = 0x28,
+ /** Thread5 Scratch Register - Unused (unit tests may modify) */
+ MMIO_SCRATCH_RSVD_T5_TESTCASES = 0x28,
/** Thread6 Scratch Register - Identifies where hostboot currently
resides and how large the space is */
MMIO_SCRATCH_MEMORY_STATE = 0x30,
OpenPOWER on IntegriCloud