]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Sort the MTRR table
authorSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:45:27 +0000 (12:45 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:22 +0000 (11:27 +0800)
commitdf34ae5e51ed31111c03e70088736cb3e7fe4a08
tree873536d4d1daeaaadbc4f4e7cc988c2c8a8a40ad
parentbc16db5eb9c12ba195decf4bd24d8bb153663a2f
x86: Sort the MTRR table

At present the MTRR registers are programmed with the list the U-Boot
builds up in the same order. In some cases this list may be out of order.
It looks better in Linux to have the registers in order, so sort them,

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/mtrr.c