From bf46ac38cc3ecd97258aca5ea4b6f95a09114ee5 Mon Sep 17 00:00:00 2001 From: Claus Michael Olsen Date: Wed, 15 Mar 2017 23:00:23 -0500 Subject: Centaur ring support - TOR API Key_Cronus_Test=XIP_REGRESS - Updates to TOR API codes to allow user codes to call TOR API function on a Centaur image. Note that the API no longer needs the caller to supply and XIP section ID. - Updates to TOR API codes to take advantage of the improved data and meta-data representation in the ring Id codes and the more self-contained ring image which now has the TOR magic header. - Updates to xip_tool to allow dissection of Centaur image. - Additional updates to TOR API codes and ring Id codes to continue improving overall clarity of data, data structures and flow through TOR API, incl name changes to related data variables and structures. Change-Id: Icc716e4e77daf13cf81fcaae2fb3c2df9c417a5b Original-Change-Id: I42891b9662cc0c443d2b16ce866ac945dc2c58dc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38018 Tested-by: Jenkins Server Tested-by: HWSV CI Tested-by: PPE CI Tested-by: Cronus HW CI Tested-by: FSP CI Jenkins Reviewed-by: Thi N. Tran Tested-by: Hostboot CI Reviewed-by: Jennifer A. Stofer --- import/chips/common/utils/imageProcs/common_ringId.H | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/import/chips/common/utils/imageProcs/common_ringId.H b/import/chips/common/utils/imageProcs/common_ringId.H index 5e0a0806..a6d92450 100644 --- a/import/chips/common/utils/imageProcs/common_ringId.H +++ b/import/chips/common/utils/imageProcs/common_ringId.H @@ -126,7 +126,7 @@ enum RingType ALLRING = 2 }; -struct CHIPLET_DATA +typedef struct { // This is the chiplet-ID of the first instance of the Chiplet uint8_t iv_base_chiplet_number; @@ -140,7 +140,10 @@ struct CHIPLET_DATA // The no.of instance rings for the Chiplet (w/different ringId values // AND different scanAddress values) uint8_t iv_num_instance_rings_scan_addrs; -}; + + // The no.of ring variants + uint8_t iv_num_ring_variants; +} ChipletData_t; // This is used to Set (Mark) the left-most bit #define INSTANCE_RING_MARK (uint8_t)0x80 @@ -154,14 +157,14 @@ struct CHIPLET_DATA // This structure is needed for mapping a RingID to it's corresponding name. // The names will be used by the build scripts when generating the TOR. #ifndef __PPE__ -struct ringProperties_t +struct RingProperties_t { uint8_t iv_torOffSet; char iv_name[50]; ChipletType_t iv_type; }; #else -struct ringProperties_t +struct RingProperties_t { uint8_t iv_torOffSet; ChipletType_t iv_type; -- cgit v1.2.3