aboutsummaryrefslogtreecommitdiff
path: root/hdata/spira.h
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2018-03-22 14:42:19 +0530
committerStewart Smith <stewart@linux.ibm.com>2018-04-11 17:59:57 -0500
commit9f85e40904d8566acf4d022f47aa8a0f836675bc (patch)
tree351ad087cbc7d3337d1d93c45119a3cea258e820 /hdata/spira.h
parente7a2da8d5e654467df63c03e2be91b435796df25 (diff)
downloadskiboot-9f85e40904d8566acf4d022f47aa8a0f836675bc.zip
skiboot-9f85e40904d8566acf4d022f47aa8a0f836675bc.tar.gz
skiboot-9f85e40904d8566acf4d022f47aa8a0f836675bc.tar.bz2
hdata: Move 'HRMOR_BIT' macro to header file
Its already defined twice. And soon I want to use in few other place. Lets move it to header file. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hdata/spira.h')
-rw-r--r--hdata/spira.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/hdata/spira.h b/hdata/spira.h
index 39e0e33..d473194 100644
--- a/hdata/spira.h
+++ b/hdata/spira.h
@@ -20,6 +20,12 @@
#include "hdif.h"
/*
+ * To help the FSP to distinguish between physical address and TCE mapped address.
+ * Also to help hostboot to distinguish physical and relative address.
+ */
+#define HRMOR_BIT (1ul << 63)
+
+/*
* The SPIRA structure
*
* NOTE: This is one of the only HDIF structure that we layout entirely