aboutsummaryrefslogtreecommitdiff
path: root/tools/patman/settings.py
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2020-11-09 15:55:49 +0800
committerBin Meng <bmeng.cn@gmail.com>2020-11-10 09:25:25 +0800
commitf72d3d6b04d21a7b2ba7ba9ee551dd6f1a9b93e4 (patch)
tree15dffb088072f3ca2cb70df35b0a8dfacd9cf56c /tools/patman/settings.py
parent1ae955e3a58f46918ef99b0b6c562967ba1bf39e (diff)
x86: Avoid using hardcoded number of variable range MTRRs in mtrr_commit()
Since commit 29d2d64ed55f ("x86: Add support for more than 8 MTRRs"), the maximum number of variable range MTRRs was increased from 8 to 10. On the BayTrail platform there are only 8 variable range MTRRs. In mtrr_commit() it still uses MTRR_MAX_COUNT which caused a #GP during VESA video driver probe. It should have been updated to use dynamically probed number. This fixes the boot failure seen on Intel Minnow Max board. Fixes: 29d2d64ed55f ("x86: Add support for more than 8 MTRRs") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/settings.py')
0 files changed, 0 insertions, 0 deletions