diff options
author | Laszlo Ersek <lersek@redhat.com> | 2016-03-18 21:28:03 +0100 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2016-03-25 10:52:40 +0100 |
commit | 65f810dbd55c6d12db8f474e2e216ee93a1136f2 (patch) | |
tree | 54966f5fac9cdcc254a0ef64df0c14f7c8eacd1a /QuarkSocPkg | |
parent | 8f7c4375be6895003541a61f4fcbdd2bf0ae402f (diff) | |
download | edk2-65f810dbd55c6d12db8f474e2e216ee93a1136f2.zip edk2-65f810dbd55c6d12db8f474e2e216ee93a1136f2.tar.gz edk2-65f810dbd55c6d12db8f474e2e216ee93a1136f2.tar.bz2 |
QuarkSocPkg: MemoryInit/Pei: remove set but unused variable TRFC
The expression that was used to set it had no side effects.
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Kelly Steele <kelly.steele@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Diffstat (limited to 'QuarkSocPkg')
-rw-r--r-- | QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/meminit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/meminit.c b/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/meminit.c index 26c56e6..50692fe 100644 --- a/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/meminit.c +++ b/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/meminit.c @@ -391,7 +391,7 @@ static void prog_ddr_timing_control( MRCParams_t *mrc_params)
{
uint8_t TCL, WL;
- uint8_t TRP, TRCD, TRAS, TRFC, TWR, TWTR, TRRD, TRTP, TFAW;
+ uint8_t TRP, TRCD, TRAS, TWR, TWTR, TRRD, TRTP, TFAW;
uint32_t TCK;
RegDTR0 Dtr0;
@@ -416,7 +416,6 @@ static void prog_ddr_timing_control( TRP = TCL; // Per CAT MRC
TRCD = TCL; // Per CAT MRC
TRAS = MCEIL(mrc_params->params.tRAS, TCK);
- TRFC = MCEIL(tRFC[mrc_params->params.DENSITY], TCK);
TWR = MCEIL(15000, TCK); // Per JEDEC: tWR=15000ps DDR2/3 from 800-1600
TWTR = MCEIL(mrc_params->params.tWTR, TCK);
|