From 1fbe5e7bf5042ee9e7353a169d13eec54c270f04 Mon Sep 17 00:00:00 2001 From: Manali Kumar Date: Thu, 24 Sep 2015 18:52:00 -0500 Subject: superio driver to control accesss to SIO registers The SuperIO driver makes accesses to the SIO chip from the console and pnor module thread safe. Change-Id: Ib07dea2867d14684806c56cd965b26c95810f7f3 RTC:115576 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20928 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell Reviewed-by: PRACHI GUPTA Reviewed-by: Richard J. Knight Reviewed-by: A. Patrick Williams III --- src/usr/pnor/sfc_ast2400.H | 44 -------------------------------------------- 1 file changed, 44 deletions(-) (limited to 'src/usr/pnor/sfc_ast2400.H') diff --git a/src/usr/pnor/sfc_ast2400.H b/src/usr/pnor/sfc_ast2400.H index 79d18c1ba..28719425e 100644 --- a/src/usr/pnor/sfc_ast2400.H +++ b/src/usr/pnor/sfc_ast2400.H @@ -137,50 +137,6 @@ class SfcAST2400 : public SfcDD READTIMEREG_14 = 0x14 }; - /** - * @brief Write a SPI Controller register - * - * @param[in] i_reg: Register to write - * @param[in] i_data: Data to write - * - * @return Error from operation - */ - errlHndl_t writeRegSPIC( SpicReg_t i_reg, - uint32_t i_data ); - - /** - * @brief Write a SPI Controller register - * - * @param[in] i_reg: Register to write - * @param[in] o_data: Data that was read - * - * @return Error from operation - */ - errlHndl_t readRegSPIC( SpicReg_t i_reg, - uint32_t& o_data ); - - /** - * @brief Write a single byte into a SIO register - * - * @param[in] i_reg: Register to write - * @param[in] i_data: Data to write - * - * @return Error from operation - */ - errlHndl_t writeRegSIO( uint8_t i_regAddr, - uint8_t i_data ); - - /** - * @brief Read a single byte from a SIO register - * - * @param[in] i_reg: Register to read - * @param[in] o_data: Data that was read - * - * @return Error from operation - */ - errlHndl_t readRegSIO( uint8_t i_regAddr, - uint8_t& o_data ); - /** * @brief Enable write mode * -- cgit v1.2.1