summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-02-09 18:16:30 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-09 18:16:30 +1100
commit9696d5a4a6d2417b30da47c8267eb1ff045fcd16 (patch)
tree51e71422297f5c0f4761037c110bf3a3509305d7
parent4755636bc81ad2da23ce33ed2298bcecee716568 (diff)
downloadblackbird-skiboot-9696d5a4a6d2417b30da47c8267eb1ff045fcd16.tar.gz
blackbird-skiboot-9696d5a4a6d2417b30da47c8267eb1ff045fcd16.zip
Use OPAL_DUMP_REGION_HOST_START (and END)
Rather than have DUMP_REGION_HOST_START and (unused) OPAL_DUMP_REGION_HOST_START let's use the defines we have in opal.h as this is API that just happens to match with what FSP expects. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--include/fsp-mdst-table.h5
-rw-r--r--include/opal.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/include/fsp-mdst-table.h b/include/fsp-mdst-table.h
index a88a086e..21cb88c9 100644
--- a/include/fsp-mdst-table.h
+++ b/include/fsp-mdst-table.h
@@ -24,12 +24,11 @@
* 0x01 - 0x7F : OPAL
* 0x80 - 0xFF : Kernel
*
- * Some of those IDs are duplicated in opal.h
*/
#define DUMP_REGION_OPAL_START 0x01
#define DUMP_REGION_OPAL_END 0x7F
-#define DUMP_REGION_HOST_START 0x80
-#define DUMP_REGION_HOST_END 0xFF
+#define DUMP_REGION_HOST_START OPAL_DUMP_REGION_HOST_START
+#define DUMP_REGION_HOST_END OPAL_DUMP_REGION_HOST_END
#define DUMP_REGION_CONSOLE 0x01
#define DUMP_REGION_HBRT_LOG 0x02
diff --git a/include/opal.h b/include/opal.h
index 2e13f771..73e56b42 100644
--- a/include/opal.h
+++ b/include/opal.h
@@ -807,8 +807,9 @@ struct opal_sg_list {
/*
* Dump region ID range usable by the OS
*/
-#define OPAL_DUMP_REGION_OS_START 0x80
-#define OPAL_DUMP_REGION_OS_END 0xFF
+#define OPAL_DUMP_REGION_HOST_START 0x80
+#define OPAL_DUMP_REGION_LOG_BUF 0x80
+#define OPAL_DUMP_REGION_HOST_END 0xFF
/* CAPI modes for PHB */
enum {
OpenPOWER on IntegriCloud