diff options
author | Richard Spiegel <richard.spiegel@amd.corp-partner.google.com> | 2018-08-23 13:46:34 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-08-27 15:59:12 +0000 |
commit | 4c7349cf85e744a60977f11104b9be4d43c46bc7 (patch) | |
tree | 6a31df2cb623dd0040c825f59e6dc1484de4007e /.checkpatch.conf | |
parent | 837e3387e5b6d4ea5823775087d23f9fb9e41f5f (diff) |
vendorcode/amd/pi/00670F00/Lib/AmdLib.c: Remove IdsErrorStop
Function IdsErrorStop() is only used within AmdLib.c function
LibAmdMsrRead(), which in turn is only used once within PspBaseLib.c and
three times inside AmdLib.c, all with well defined MSR addresses.
IdsErrorStop() is used as a trap if MSR address is 0 or 0xFFFFFFFF, which
clearly it's not. Therefore it can be safely removed from AmdLib.c.
BUG=b:112885948
TEST=Build grunt
Change-Id: I47ffcbd4fbae28b6d711a340f0ac3f3b007e8e4f
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/28295
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to '.checkpatch.conf')
0 files changed, 0 insertions, 0 deletions