diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-03-24 11:12:09 +0100 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-04-19 09:46:42 +0000 |
commit | fc9302465ba1e78f9a99440e1898b3714861290d (patch) | |
tree | f7d827b75cccc6eeee34ead5c0ac2e874dfac541 /src/commonlib | |
parent | 64ba44f7fb7a64c5cc1e9155758b57589320b1a5 (diff) |
nb/intel/sandybridge: Refactor get_mem_min_tck
It is not necessary to pass its value around various function calls.
Move it closer to where it is actually used, so as to make it static.
Also, use config_of_soc and flip the branches of the first conditional.
Tested on Asus P8Z77-V LX2, still boots.
Change-Id: I5c49c943c87218d4d40d3168bd8b7b900b0ec2e9
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39851
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/commonlib')
0 files changed, 0 insertions, 0 deletions