
14 Jul
2019
14 Jul
'19
10:49 a.m.
On Wed, Jul 10, 2019 at 3:02 AM Park, Aiden aiden.park@intel.com wrote:
Slim Bootloader provides memory map info thru its HOB list pointer. Configure memory size and relocation memory from the HOB data, and provide e820 entries as well.
- Get memory size from the memory map info hob
- Set ram top for U-Boot relocation lower than 4GB
- Provide e820 entries from the memory map info hob
Signed-off-by: Aiden Park aiden.park@intel.com
Changes in v3:
- Use HOB function from the common HOB library
- Add more description
arch/x86/cpu/slimbootloader/Makefile | 2 +- arch/x86/cpu/slimbootloader/dram.c | 146 ++++++++++++++++++ .../asm/arch-slimbootloader/slimbootloader.h | 44 ++++++ 3 files changed, 191 insertions(+), 1 deletion(-) create mode 100644 arch/x86/cpu/slimbootloader/dram.c
Reviewed-by: Bin Meng bmeng.cn@gmail.com