From 2e4607a018b70e3019155e642d7f07ab2c9d4905 Mon Sep 17 00:00:00 2001 From: Santosh Puranik Date: Tue, 17 Jan 2017 10:39:05 -0600 Subject: Make plat init attributes non-writable Change-Id: I382948a4083293e4ecc42a9759559a060444f5f0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34997 Tested-by: FSP CI Jenkins Tested-by: Jenkins Server Tested-by: HWSV CI Tested-by: Hostboot CI Tested-by: PPE CI Reviewed-by: Sachin Gupta Reviewed-by: SRINIVAS V. POLISETTY Reviewed-by: Matt K. Light Reviewed-by: Daniel M. Crowell Reviewed-by: Jennifer A. Stofer Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35043 Reviewed-by: Hostboot Team --- src/hwpf/plat_target_utils.H | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/hwpf/plat_target_utils.H') diff --git a/src/hwpf/plat_target_utils.H b/src/hwpf/plat_target_utils.H index 0a2d525d..bb46ccec 100644 --- a/src/hwpf/plat_target_utils.H +++ b/src/hwpf/plat_target_utils.H @@ -49,6 +49,10 @@ namespace fapi2 /// attributes ReturnCode plat_TargetsInit(); + /// @brief Initializes all platInit attributes (the values for which come + // from the scratch registers) + ReturnCode plat_AttrInit(); + /// @brief Function to apply any gard records set (via // ATTR_EQ_GARD/ATTR_EC_GARD) to mark corresponding targets non functional ReturnCode plat_ApplyGards(); -- cgit v1.2.1