summaryrefslogtreecommitdiffstats
path: root/src/usr/gpio/gpiodd.C
diff options
context:
space:
mode:
authorMike Baiocchi <mbaiocch@us.ibm.com>2019-09-12 09:00:52 -0500
committerNicholas E Bofferding <bofferdn@us.ibm.com>2019-11-14 08:28:02 -0600
commit35964668f9dc302401ff03c691e579a4c48eecea (patch)
tree2d1f1274e4b9b55826421fc23f3f19d43c33747d /src/usr/gpio/gpiodd.C
parenteace166aa1ef265712798d84f10782f7bc430be7 (diff)
downloadtalos-hostboot-35964668f9dc302401ff03c691e579a4c48eecea.tar.gz
talos-hostboot-35964668f9dc302401ff03c691e579a4c48eecea.zip
Add Physical Presence Check and Window Open Features
This commit does the following: - Adds an interface to detect if physical presence has been asserted -- This happens in istep 6 -- If the window is open to detect this, it is then closed here - Adds an interface to possibly open the window to look for physical presence -- This happens in istep 10 -- It first checks to see if the window should be opened -- If the window is opened then the system shuts down to wait for physical presence to be asserted on the next power on - Adds the necessary attributes to support and test this functionality RTC:211220 Change-Id: I05a26ebad581875a4b9f2a51eb1ca3062f36c5fb Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/84656 Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Christopher J Engel <cjengel@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E Bofferding <bofferdn@us.ibm.com>
Diffstat (limited to 'src/usr/gpio/gpiodd.C')
-rw-r--r--src/usr/gpio/gpiodd.C3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/gpio/gpiodd.C b/src/usr/gpio/gpiodd.C
index 69cde2b70..50fa193c5 100644
--- a/src/usr/gpio/gpiodd.C
+++ b/src/usr/gpio/gpiodd.C
@@ -77,8 +77,7 @@ errlHndl_t gpioPerformOp(DeviceFW::OperationType i_opType,
gpioInfo.deviceType = va_arg( i_args, uint64_t );
gpioInfo.portAddr = va_arg( i_args, uint64_t );
-//MAB make TRACD
- TRACFCOMP(g_trac_gpio, ENTER_MRK"gpioPerformOp(): "
+ TRACDCOMP(g_trac_gpio, ENTER_MRK"gpioPerformOp(): "
"optype %d deviceType %d portAddr %d",
i_opType, gpioInfo.deviceType, gpioInfo.portAddr);
OpenPOWER on IntegriCloud