[PATCH v2 11/18] x86: Set up LPC only after relocation

Bin Meng bmeng.cn at gmail.com
Thu May 4 16:22:23 CEST 2023


Hi Simon,

On Tue, Apr 18, 2023 at 11:31 PM Simon Glass <sjg at chromium.org> wrote:
>
> Probing LPC can cause PCI enumeration to take place, which significantly
> increases pre-relocation memory usage. Also, LPC is somtimes enabled

typo: sometimes

> directly by SPL.
>
> Adjust the logic to probe the LPC only after relocation. This allows
> chromebook_link64 to start up without a much larger
> CONFIG_SYS_MALLOC_F_LEN value.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Add new patch to set up LPC only after relocation
>
>  drivers/sysreset/sysreset_x86.c | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
>

This patch should be squashed to patch #5 ("x86: ivybridge: Ensure LPC
is available for GPIO base ")

Regards,
Bin


More information about the U-Boot mailing list