From 40051744d8ed7d308cf6a609ed3da43a17dc1332 Mon Sep 17 00:00:00 2001 From: Sachin Gupta Date: Fri, 14 Oct 2016 10:16:58 -0500 Subject: 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: http://ralgit01.raleigh.ibm.com/gerrit1/31245 Tested-by: Jenkins Server Reviewed-by: SRINIVAS V. POLISETTY Reviewed-by: RAJA DAS Tested-by: FSP CI Jenkins Reviewed-by: AMIT J. TENDOLKAR --- src/hwpf/src/plat/plat_utils.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hwpf') 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; -- cgit v1.2.1