From 0a616016602874248a8d174b75291a3f708bf91f Mon Sep 17 00:00:00 2001 From: Ben Gass Date: Fri, 31 Aug 2018 12:42:39 -0500 Subject: [PATCH] Adding p9a_get/put_mmio and explorer_inband p9a_get/put_mmio implements getMMIO and putMMIO via the ADU. explorer_inband implements functions to access MSCC MMIO registers, MSCC RAM space for commands and responses, and IBM scom registers via inband/mmio to Explorer. Change-Id: I7b0213b1cb426b10f2902e06373295986e01cd9b Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65569 Tested-by: Hostboot CI Tested-by: Jenkins Server Reviewed-by: STEPHEN GLANCY Reviewed-by: Louis Stermole Reviewed-by: Matt K. Light Reviewed-by: Jennifer A. Stofer Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80967 Reviewed-by: RAJA DAS --- .../explorer/procedures/hwp/memory/lib/shared/exp_consts.H | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H index 803f7a454..ae5b947a4 100644 --- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H +++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H @@ -40,8 +40,6 @@ namespace mss { namespace exp { -namespace i2c -{ /// /// @brief explorer ffdc codes @@ -50,8 +48,12 @@ enum ffdc_codes { EXP_I2C_GET_FIELD = 0x0000, EXP_I2C_SET_FIELD = 0x0001, + READ_HOST_FW_RESPONSE_STRUCT = 0x0003, }; +namespace i2c +{ + /// @brief List of explorer I2C commands /// enum cmd_id : uint8_t @@ -119,7 +121,6 @@ enum boot_stages FW_UPGRADE_MODE = 0x02, RUNTIME_FW = 0x03, }; - }// i2c }// exp }// mss