summaryrefslogtreecommitdiffstats
path: root/hwpf/plat/include/plat_target_parms.H
diff options
context:
space:
mode:
Diffstat (limited to 'hwpf/plat/include/plat_target_parms.H')
-rw-r--r--hwpf/plat/include/plat_target_parms.H35
1 files changed, 17 insertions, 18 deletions
diff --git a/hwpf/plat/include/plat_target_parms.H b/hwpf/plat/include/plat_target_parms.H
index 4931f790..6056dcf5 100644
--- a/hwpf/plat/include/plat_target_parms.H
+++ b/hwpf/plat/include/plat_target_parms.H
@@ -30,33 +30,32 @@
#ifndef __FAPI2_PPE_TARGET_PARMS__
#define __FAPI2_PPE_TARGET_PARMS__
+#include "fapi_sbe_common.H"
-#ifndef __ASSEMBLER__
+CONST_UINT64_T(CHIPLET_COUNT, 0x38);
-const uint64_t CHIPLET_COUNT = 0x38;
+CONST_UINT64_T(CHIP_TARGET_COUNT , 1);
+CONST_UINT64_T(CHIP_TARGET_OFFSET, 0);
-const uint64_t CHIP_TARGET_COUNT = 1;
-const uint64_t CHIP_TARGET_OFFSET = 0;
+CONST_UINT64_T(PERV_TARGET_OFFSET, CHIP_TARGET_OFFSET + CHIP_TARGET_COUNT);
+CONST_UINT64_T(PERV_CHIPLET_OFFSET, 0x1);
+CONST_UINT64_T(PERV_TARGET_COUNT, 15);
-const uint64_t PERV_TARGET_OFFSET = CHIP_TARGET_OFFSET + CHIP_TARGET_COUNT;
-const uint64_t PERV_CHIPLET_OFFSET = 0x1;
-const uint64_t PERV_TARGET_COUNT = 15;
+CONST_UINT64_T(EQ_TARGET_OFFSET, PERV_TARGET_OFFSET + PERV_TARGET_COUNT);
+CONST_UINT64_T( EQ_CHIPLET_OFFSET, 0x10);
+CONST_UINT64_T(EQ_TARGET_COUNT, 6);
-const uint64_t EQ_TARGET_OFFSET = PERV_TARGET_OFFSET + PERV_TARGET_COUNT;
-const uint64_t EQ_CHIPLET_OFFSET = 0x10;
-const uint64_t EQ_TARGET_COUNT = 6;
+CONST_UINT64_T( CORE_TARGET_OFFSET, EQ_TARGET_OFFSET + EQ_TARGET_COUNT);
+CONST_UINT64_T( CORE_CHIPLET_OFFSET, 0x20);
+CONST_UINT64_T(CORE_TARGET_COUNT, 24);
-const uint64_t CORE_TARGET_OFFSET = EQ_TARGET_OFFSET + EQ_TARGET_COUNT;
-const uint64_t CORE_CHIPLET_OFFSET = 0x20;
-const uint64_t CORE_TARGET_COUNT = 24;
+CONST_UINT64_T( EX_TARGET_OFFSET, CORE_TARGET_OFFSET + CORE_TARGET_COUNT);
+CONST_UINT64_T( EX_CHIPLET_OFFSET, 0x10);
+CONST_UINT64_T(EX_TARGET_COUNT, 12);
-const uint64_t EX_TARGET_OFFSET = CORE_TARGET_OFFSET + CORE_TARGET_COUNT;
-const uint64_t EX_CHIPLET_OFFSET = 0x10;
-const uint64_t EX_TARGET_COUNT = 12;
+CONST_UINT64_T(TARGET_COUNT, EX_TARGET_OFFSET + EX_TARGET_COUNT);
-const uint64_t TARGET_COUNT = EX_TARGET_OFFSET + EX_TARGET_COUNT;
-#endif
#endif // __FAPI2_PPE_TARGET_PARMS__
OpenPOWER on IntegriCloud