diff options
author | Timothy Pearson <tpearson@raptorengineering.com> | 2017-01-09 14:27:09 -0600 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2017-01-11 00:18:34 +0100 |
commit | 6f9468f019239af70c20de9fca411fc76a00db1b (patch) | |
tree | d48cb89f217f4480e20f96c17bf51195f3ebdab8 /src/cpu/x86 | |
parent | 8fa624784e3d78e67cf7b4e0e72cb2208c399f0f (diff) |
amd/mct/ddr3: Rework memory speed to clock value conversion logic
The existing DRAM clock speed to configuration value logic contained
an error resulting in a theoretical out of bounds read. While this
would not be hit on real hardware, it was prudent to clean up the
logic to avoid the associated Coverity warning.
Found-by: Coverity Scan #1347353
Change-Id: Ic3de3074f51d52be112a2d6f2d68e35dc881dd2e
Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
Reviewed-on: https://review.coreboot.org/18073
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/cpu/x86')
0 files changed, 0 insertions, 0 deletions