u-boot/arch/x86
Bin Meng f72d3d6b04 x86: Avoid using hardcoded number of variable range MTRRs in mtrr_commit()
Since commit 29d2d64ed5 ("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: 29d2d64ed5 ("x86: Add support for more than 8 MTRRs")
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-11-10 09:25:25 +08:00
..
cpu x86: Avoid using hardcoded number of variable range MTRRs in mtrr_commit() 2020-11-10 09:25:25 +08:00
dts x86: Provide default SMBIOS manufacturer/product 2020-11-06 10:25:56 +08:00
include/asm x86: Use CONFIG_CHROMEOS_VBOOT for verified boot 2020-11-06 09:51:31 +08:00
lib x86: zimage: Quieten down the zimage boot process 2020-11-06 09:51:34 +08:00
config.mk kconfig / kbuild: Re-sync with Linux 4.19 2020-04-10 11:18:32 -04:00
Kconfig x86: Support Atom SoCs using SWSMISCI rather than the SWSCI 2020-09-25 11:27:18 +08:00
Makefile x86: Allow 16-bit init to be in TPL 2019-05-08 13:02:13 +08:00