[U-Boot] [PATCH v8 4/9] x86: slimbootloader: Add memory configuration
andy.shevchenko at gmail.com
Fri Aug 2 07:49:07 UTC 2019
On Fri, Aug 2, 2019 at 10:03 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 available top memory lower than 4GB for U-Boot relocation
> - Provide e820 entries from the memory map info HOB
> +#define for_each_memory_map_entry_reversed(iter, entries) \
> + for (iter = entries->count - 1; iter >= 0; iter--) \
> + if (entries->entry[iter].type == E820_RAM)
It seems you missed my answer to Bin.
This is simple incorrect. Checkpatch sometimes is wrong.
With Best Regards,
More information about the U-Boot