summaryrefslogtreecommitdiffstats
path: root/src/occ_405/main.c
diff options
context:
space:
mode:
authorChris Cain <cjcain@us.ibm.com>2016-01-21 08:08:22 -0600
committerChristopher J. Cain <cjcain@us.ibm.com>2016-03-01 10:04:07 -0500
commit0b38bc9d5f8a7ab2fe466a3a432ade97eb5f8971 (patch)
tree6238bd93a590b4b38e69fbc1dd6513b1bb7955de /src/occ_405/main.c
parent8d6b58d82125223c07fa0c4fa795c0de52eefd2a (diff)
downloadtalos-occ-0b38bc9d5f8a7ab2fe466a3a432ade97eb5f8971.tar.gz
talos-occ-0b38bc9d5f8a7ab2fe466a3a432ade97eb5f8971.zip
Implement I2C locking with host
Change-Id: I9e99e799e0df442bebef473360ca87d564f5ddaf RTC: 140545 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/12898 Tested-by: FSP CI Jenkins Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Diffstat (limited to 'src/occ_405/main.c')
-rwxr-xr-xsrc/occ_405/main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/occ_405/main.c b/src/occ_405/main.c
index 8e77fcf..629e88c 100755
--- a/src/occ_405/main.c
+++ b/src/occ_405/main.c
@@ -874,12 +874,7 @@ void Main_thread_routine(void *private)
// Host can inform HTMGT to collect the error log
if (G_occ_interrupt_type == PSIHB_INTERRUPT)
{
- // From OCC OpenPower Interface v1.1, OCC needs to set bits 0 and 1 of
- // the OCB_OCCMISC register
- ocb_occmisc_t l_occmiscreg;
- l_occmiscreg.fields.core_ext_intr = 1;
- l_occmiscreg.fields.reason_intr = 1;
- out32(OCB_OCCMISC_OR, l_occmiscreg.value);
+ notify_host(INTR_REASON_HTMGT_SERVICE_REQUIRED);
}
}
*/
OpenPOWER on IntegriCloud