x86: fsp: Mark memory used by U-Boot as reserved in the E820 table for S3
authorBin Meng <bmeng.cn@gmail.com>
Fri, 21 Apr 2017 14:24:34 +0000 (07:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 17 May 2017 09:11:46 +0000 (17:11 +0800)
commit7d0d2efef82dcb88030a960aef09290e6e49f771
tree28df1c0c34e26541d6d8a4d0067cc032b5e414b0
parente652e1304a9f3b59b3e47005ea19b5b6a3e799d1
x86: fsp: Mark memory used by U-Boot as reserved in the E820 table for S3

U-Boot itself as well as everything that is consumed by U-Boot (like
heap, stack, dtb, etc) needs to be reserved and reported in the E820
table when S3 resume is on.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Stefan Roese <sr@denx.de>
arch/x86/Kconfig
arch/x86/lib/fsp/fsp_dram.c