On Thu, Aug 8, 2019 at 10:35 PM Bin Meng <[email protected]> wrote: > > On Sat, Aug 3, 2019 at 4:30 PM Park, Aiden <[email protected]> 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 available top memory lower than 4GB for U-Boot relocation > > - Provide e820 entries from the memory map info HOB > > > > Signed-off-by: Aiden Park <[email protected]> > > Reviewed-by: Bin Meng <[email protected]> > > Reviewed-by: Andy Shevchenko <[email protected]> > > --- > > Changes in v9: > > * Use for_each_if macro to avoid checkpatch ERROR > > > > Changes in v8: > > * Change for_each condition check to avoid ERROR from checkpatch > > > > Changes in v7: > > * Use for_each macro instead of while_each > > * Move for_each macro before its first use > > > > Changes in v6: > > * Change dram.c to sdram.c > > * Use EFI_GUID > > * Use a macro to do reversed search in memory map entries > > * Apply code-review comments > > > > Changes in v3: > > * Use HOB function from the common HOB library > > * Add more description > > > > arch/x86/cpu/slimbootloader/Makefile | 2 +- > > arch/x86/cpu/slimbootloader/sdram.c | 151 ++++++++++++++++++ > > .../asm/arch-slimbootloader/slimbootloader.h | 53 ++++++ > > 3 files changed, 205 insertions(+), 1 deletion(-) > > create mode 100644 arch/x86/cpu/slimbootloader/sdram.c > > create mode 100644 > > arch/x86/include/asm/arch-slimbootloader/slimbootloader.h > > > > Tested-by: Bin Meng <[email protected]>
applied to u-boot-x86, thanks! _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

