]> git.sur5r.net Git - u-boot/commit
x86: fsp: Report correct number of E820 table entries
authorBin Meng <bmeng.cn@gmail.com>
Mon, 28 Sep 2015 09:11:59 +0000 (02:11 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 29 Sep 2015 04:56:27 +0000 (21:56 -0700)
commit196193a4d4963a8dde00c7cdd0ec83b60ea61e61
tree5690f39a5d2c2684d78fa701893904bc89a23aae
parentc1446ac6c11dab19490a552f16ab39df8d5b3de3
x86: fsp: Report correct number of E820 table entries

The logic to calculate the number of E820 table entries is wrong
when walking through the FSP HOB tables. Fix it.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Jian Luo <jian.luo4@boschrexroth.de>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/fsp/fsp_dram.c