summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2017-05-30 15:32:26 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-06-07 12:43:35 -0400
commite9489e7f7bdf45edb5e274c6b771485532ea906c (patch)
treec8c53b6e9a761447e06caaaa79f821605f37492b /src/include
parent47f343509fdd57dfe6d2f7e230413db9ebab0066 (diff)
downloadtalos-hostboot-e9489e7f7bdf45edb5e274c6b771485532ea906c.tar.gz
talos-hostboot-e9489e7f7bdf45edb5e274c6b771485532ea906c.zip
Use XSCOM BAR from Bootloader instead of hardcoded value
The memory map can be modified by the SBE such that the XSCOM BAR is not in the default location. The BAR value is passed up through the bootloader into hostboot. Change-Id: I469b7534d384bce4bb8c72f7cd78d0075ac04632 RTC: 173519 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41140 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/kernel/bltohbdatamgr.H1
-rw-r--r--src/include/usr/xscom/xscomif.H40
2 files changed, 40 insertions, 1 deletions
diff --git a/src/include/kernel/bltohbdatamgr.H b/src/include/kernel/bltohbdatamgr.H
index 6563ba9f1..87db201ab 100644
--- a/src/include/kernel/bltohbdatamgr.H
+++ b/src/include/kernel/bltohbdatamgr.H
@@ -27,7 +27,6 @@
#define __BLTOHBDATAMANAGER_H
#include <stdint.h>
-#include <sys/mm.h>
#include <bootloader/bootloaderif.H>
// BlToHbDataManager class
diff --git a/src/include/usr/xscom/xscomif.H b/src/include/usr/xscom/xscomif.H
new file mode 100644
index 000000000..1afdfafcb
--- /dev/null
+++ b/src/include/usr/xscom/xscomif.H
@@ -0,0 +1,40 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/xscom/xscomif.H $ */
+/* */
+/* OpenPOWER HostBoot Project */
+/* */
+/* Contributors Listed Below - COPYRIGHT 2017 */
+/* [+] International Business Machines Corp. */
+/* */
+/* */
+/* Licensed under the Apache License, Version 2.0 (the "License"); */
+/* you may not use this file except in compliance with the License. */
+/* You may obtain a copy of the License at */
+/* */
+/* http://www.apache.org/licenses/LICENSE-2.0 */
+/* */
+/* Unless required by applicable law or agreed to in writing, software */
+/* distributed under the License is distributed on an "AS IS" BASIS, */
+/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */
+/* implied. See the License for the specific language governing */
+/* permissions and limitations under the License. */
+/* */
+/* IBM_PROLOG_END_TAG */
+#ifndef __XSCOMIF_H
+#define __XSCOMIF_H
+
+namespace XSCOM
+{
+
+/**
+ * @brief Return the value of the XSCOM BAR that the driver is using
+ * @return XSCOM BAR physical address
+ */
+uint64_t get_master_bar( void );
+
+
+}; // namespace XSCOM
+
+#endif // end __XSCOMIF_H
OpenPOWER on IntegriCloud