Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
i2c-tools
i2c-tools-r6154-round-down-PC3-numbers.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File i2c-tools-r6154-round-down-PC3-numbers.diff of Package i2c-tools
Subject: decode-dimms: Round down PC3 numbers to comply with Jedec Upstream: yes, r6154 DDR3: Round down PC3 numbers to comply with Jedec. --- eeprom/decode-dimms | 2 ++ 1 file changed, 2 insertions(+) --- a/eeprom/decode-dimms +++ b/eeprom/decode-dimms @@ -1188,6 +1188,8 @@ sub decode_ddr3_sdram($) my $ddrclk = 2 * (1000 / $ctime); my $tbits = 1 << (($bytes->[8] & 7) + 3); my $pcclk = int ($ddrclk * $tbits / 8); + # Round down to comply with Jedec + $pcclk = $pcclk - ($pcclk % 100); $ddrclk = int ($ddrclk); printl("Maximum module speed", "$ddrclk MHz (PC3-${pcclk})");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor