diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-06-10 21:44:26 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-06-12 12:55:57 +0200 |
commit | 065b683618f8455dcb0bfc271a853d1c88a23734 (patch) | |
tree | c8faff6b29694b25d2b460011429f8d5727b0e2e /src/mainboard/iei | |
parent | 1ee6f0bdc826a13c7c52d82bd3d918b24de5eec0 (diff) |
soc/intel/common: don't infinitely recurse in busmaster_disable_on_bus()
If a bridge has the primary bus equal to the secondary bus the
busmaster_disable_on_bus() will infinitely call itself. Avoid the
inifinite recursion by checking current bus number against the
secondary bus number.
BUG=chrome-os-partner:54262
TEST=Ran on reef. Able to actually get the chipset to assert SLP_Sx
signals which means no more infinite recursion.
Change-Id: I52b21fbba24e6a652ea8f9f87f5f49f60109c8f2
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/15157
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/iei')
0 files changed, 0 insertions, 0 deletions