summaryrefslogtreecommitdiffstats
path: root/import/chips/p9/xip/p9_xip_image.h
diff options
context:
space:
mode:
Diffstat (limited to 'import/chips/p9/xip/p9_xip_image.h')
-rw-r--r--import/chips/p9/xip/p9_xip_image.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/import/chips/p9/xip/p9_xip_image.h b/import/chips/p9/xip/p9_xip_image.h
index 6c9ff69d..6f00e92c 100644
--- a/import/chips/p9/xip/p9_xip_image.h
+++ b/import/chips/p9/xip/p9_xip_image.h
@@ -29,8 +29,6 @@
#ifndef __P9_XIP_IMAGE_H
#define __P9_XIP_IMAGE_H
-#include "fapi_sbe_common.H"
-
/// Current version (fields, layout, sections) of the P9_XIP header
///
/// If any changes are made to this file or to p9_xip_header.H, please update
@@ -46,6 +44,12 @@
///
/// @{
+#ifdef __ASSEMBLER__
+ #define ULL(x) x
+#else
+ #define ULL(x) x##ull
+#endif
+
#define P9_XIP_MAGIC 0x58495020 // "XIP "
#define P9_XIP_MAGIC_BASE ULL(0x5849502042415345) // "XIP BASE"
#define P9_XIP_MAGIC_SEEPROM ULL(0x584950205345504d) // "XIP SEPM"
OpenPOWER on IntegriCloud