From 498291a1a22d35ffb27ba7d6665d9cec22d8d98e Mon Sep 17 00:00:00 2001 From: Doug Gilbert Date: Mon, 16 Sep 2013 16:13:27 -0500 Subject: Hostboot runtime scom support RTC: 79407 RTC: 79406 Change-Id: I8cbf1f21e8e9e205eb0130ce96187619647cf486 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6350 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell Reviewed-by: A. Patrick Williams III --- src/include/runtime/interface.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/include/runtime') diff --git a/src/include/runtime/interface.h b/src/include/runtime/interface.h index 082f2440c..7dd49d202 100644 --- a/src/include/runtime/interface.h +++ b/src/include/runtime/interface.h @@ -67,6 +67,22 @@ typedef struct hostInterfaces */ int (*sendErrorLog)(uint32_t,uint32_t,void *); + /** Scan communication read + * @param[in] chip_id (based on devtree defn) + * @param[in] address + * @param[in] pointer to 8-byte data buffer + * @return 0 on success else return code + */ + int (*scom_read)(uint32_t, uint32_t, void*); + + /** Scan communication write + * @param[in] chip_id (based on devtree defn) + * @param[in] address + * @param[in] pointer to 8-byte data buffer + * @return 0 on success else return code + */ + int (*scom_write)(uint32_t, uint32_t, void* ); + } hostInterfaces_t; typedef struct runtimeInterfaces -- cgit v1.2.1