path: root/src/hwpf/src
diff options
authorSachin Gupta <>2016-10-14 10:16:58 -0500
committerAMIT J. TENDOLKAR <>2016-10-14 14:22:50 -0400
commit40051744d8ed7d308cf6a609ed3da43a17dc1332 (patch)
tree2364fa739dd2c08f9d1a3e0b8f2d3217a69e8acf /src/hwpf/src
parente5abfe5f5da515ca51f9ae8524d47822b28e49ea (diff)
Fix for delay, fifo and npllsetup ( placement in memory )
1. FAPI Delay does not use uint64_t when converting nanoseconds to ppe timebase. Also as delay is working, updated wait time in test case framework. 2. npll setup procedure is moved to PIBMEM as npll setup changes sbe frequence and we can not access seeprom before changing I2C bit divisor rate. 3. In FIFO utils, the empty status of queue is next state. So we need to use valid flag to see if FIFO was really empty. Change-Id: I59ccfc70f3013822532110230ec231408675a1a0 Reviewed-on: Tested-by: Jenkins Server <> Reviewed-by: SRINIVAS V. POLISETTY <> Reviewed-by: RAJA DAS <> Tested-by: FSP CI Jenkins <> Reviewed-by: AMIT J. TENDOLKAR <>
Diffstat (limited to 'src/hwpf/src')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hwpf/src/plat/plat_utils.C b/src/hwpf/src/plat/plat_utils.C
index decb9264..94adc7d6 100644
--- a/src/hwpf/src/plat/plat_utils.C
+++ b/src/hwpf/src/plat/plat_utils.C
@@ -50,7 +50,7 @@ namespace fapi2
#ifndef __FAPI_DELAY_SIM__
-#define PK_NANOSECONDS_SBE(n) ((PkInterval)((PK_BASE_FREQ_HZ * (PkInterval)(n)) / (1024*1024*1024)))
+#define PK_NANOSECONDS_SBE(n) ((PkTimebase)((PK_BASE_FREQ_HZ * (PkTimebase)(n)) / (1024*1024*1024)))
PkTimebase target_time;
PkTimebase current_time;
OpenPOWER on IntegriCloud