u-boot-brain/arch/x86
Simon Glass 0ad9b6a988 x86: Correct mrccache find_next_mrc_cache() calculation
This should take account of the end of the new cache record since a record
cannot extend beyond the end of the flash region. This problem was not
seen before due to the alignment of the relatively small amount of MRC
data.

But with Apollo Lake the MRC data is about 45KB, even if most of it is
zeroes.

Fix this bug and update the parameter name to be less confusing.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-12-15 11:44:13 +08:00
..
cpu x86: Define the SPL image start 2019-12-15 11:44:12 +08:00
dts binman: x86: Separate out 16-bit reset and init code 2019-10-15 08:40:02 -06:00
include/asm x86: Reduce mrccache record alignment size 2019-12-15 11:44:12 +08:00
lib x86: Correct mrccache find_next_mrc_cache() calculation 2019-12-15 11:44:13 +08:00
config.mk x86: efi: app: Generate Microsoft PE format compliant image 2018-12-02 21:59:36 +01:00
Kconfig x86: Drop RESET_SEG_SIZE 2019-10-11 17:37:34 +08:00
Makefile x86: Allow 16-bit init to be in TPL 2019-05-08 13:02:13 +08:00