[U-Boot] [PATCH v3 3/8] x86: slimbootloader: Add memory configuration

Bin Meng bmeng.cn at gmail.com
Sun Jul 14 08:49:13 UTC 2019


On Wed, Jul 10, 2019 at 3:02 AM Park, Aiden <aiden.park at 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 at 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 at gmail.com>


More information about the U-Boot mailing list